This website works better with JavaScript.
首頁
探索
說明
註冊
登入
corala
/
biguiyuan
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
添加扫描倒计时
dev
corala
3 年之前
父節點
224d1ac04a
當前提交
f4574f93b9
共有
1 個文件被更改
,包括
2 次插入
和
4 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-4
pages/AR/index.js
+ 2
- 4
pages/AR/index.js
查看文件
@@ -70,10 +70,10 @@ Page({
var t = 10;
var timer = setInterval(function(){
t--;
if(t
==3
){
if(t
<4
){
wx.showToast({
icon: 'none',
title: '扫描
次数过多
',
title: '扫描
时间过长,请退出后重新扫描!
',
})
}
if(t<0){
@@ -82,9 +82,7 @@ Page({
delta: 1,
})
}
console.log(t)
}, 1000)
},
showLoading(text) {
this.setData({
Write
Preview
Loading…
取消
儲存