js 大佬来看看这个问题
firefox吧
全部回复
仅看楼主
level 13
709922234
楼主
https://codepen.io/mantou132/pen/YJdQxb?editors=1000
方法 1 ,和方法 2 为什么结果会不一样? 一个会更新,一个不会更新。
2018年10月25日 14点10分
1
level 13
709922234
楼主
如果要使用复制的位置的话,我想到的只有 try throw,但是 lit-html 中并没有 try 啊。
2018年10月25日 14点10分
2
709922234
https://github.com/Polymer/lit-html
2018年10月25日 14点10分
level 13
709922234
楼主
在线等,很急啊
2018年10月25日 15点10分
3
level 8
断点调试啊
2018年10月26日 07点10分
6
level 14
灰烬之灵炘
我发现我在手机上可以,电脑上不显示。
2018年10月26日 09点10分
8
level 14
灰烬之灵炘
我在safari上方法一可以的
2018年10月26日 09点10分
9
灰烬之灵炘
电脑上firefox不行
2018年10月26日 09点10分
level 13
709922234
楼主
这个问题已经解决了,是模版字符的特征。
https://github.com/Polymer/lit-html/issues/588#issuecomment-433191630
2018年10月26日 10点10分
10
1