mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
update app/admin/view/api/upload/image.html.
uploadOneImage(),选择图片时,双击出错,加防抖 Signed-off-by: 纵横四海 <windows_1122334@126.com>
This commit is contained in:
parent
0052d8ad28
commit
74659b954b
@ -77,6 +77,9 @@
|
||||
},
|
||||
// 设置单项数据
|
||||
setItem: function (item) {
|
||||
if(this.isClicked) return;
|
||||
this.isClicked=true;
|
||||
setTimeout(()=>{this.isClicked=false},500);
|
||||
if (!this.mult) {
|
||||
this.setValue(item.xurl).setInput();
|
||||
} else if ((item.checked = !this.idxs[item.id])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user