backend-moke 模拟弱网环境;一些小修改
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
|
||||
<script>
|
||||
import Taro from '@tarojs/taro'
|
||||
import { eventCenter, getCurrentInstance } from '@tarojs/taro'
|
||||
import drawQrcode from '../../utils/qrcode/index'
|
||||
import utils from '../../utils/utils'
|
||||
|
||||
@@ -84,8 +83,8 @@ export default {
|
||||
text: text,
|
||||
})
|
||||
|
||||
this.timeInterval = setInterval(this.updateTime, 1000);
|
||||
this.updateTime();
|
||||
this.timeInterval = setInterval(this.updateTime, 1000);
|
||||
})
|
||||
},
|
||||
updateTime() {
|
||||
|
Reference in New Issue
Block a user