uni-app icon indicating copy to clipboard operation
uni-app copied to clipboard

关于编译微信小程序原生语法的问题

Open zoneccc opened this issue 7 years ago • 2 comments

    <button> 
      type="primary" 
      size="40"
      session-from="sobot|{{userInfo.nickName}}|{{userInfo.avatarUrl}}|{{params}}"
      open-type="contact"
    >联系客服</button>

如上,我不知道在uni-app怎么样表示session-form的参数,还请解答下,谢谢。

zoneccc avatar Sep 01 '19 15:09 zoneccc

<button
            type="primary"
            size="40"
            :session-from="'sobot|'+userInfo.nickName+'|'+userInfo.avatarUrl+'|'+params"
            open-type="contact"
            >联系客服</button>

fxy060608 avatar Sep 02 '19 05:09 fxy060608

<button
            type="primary"
            size="40"
            :session-from="'sobot|'+userInfo.nickName+'|'+userInfo.avatarUrl+'|'+params"
            open-type="contact"
            >联系客服</button>

可以了,谢了老哥。

zoneccc avatar Sep 02 '19 06:09 zoneccc