摘要:
H5是html5的简称,前端开发的语言基本都可以在这里使用,一,点击一个按键,改变ui:<html><head></head> <body> <button onclick="xxx()"></button><p id="p_id"></p> <script> function xxx(){ doc 阅读全文
posted @ 2021-08-01 17:43
CodeTer
阅读(58)
评论(0)
推荐(0)
摘要:
1,改变数据有两种方式:this.setData({ 在这里更改数据,会刷新ui })还有:this.data.变量。后面这个会更改数据,但是不会更新ui。标准的用法,是用self替换this。可以在其中使用self.data.count=12.https://zhuanlan.zhihu.com/ 阅读全文
posted @ 2021-08-01 17:31
CodeTer
阅读(190)
评论(0)
推荐(0)

浙公网安备 33010602011771号