提交 06e68fd0 编写于 作者: 赵十四's avatar 赵十四

修改延迟时间

上级 bbf995ae
......@@ -67,6 +67,7 @@
setTimeout(() => {
this.btnDisabled = false
}, 1000)
var length = this.imageValue.length;
for (var i = 0; i < length; i++) {
this.img.push(this.imageValue[i].path);
......@@ -74,7 +75,7 @@
if (length == 0 && this.value1 == '') {
uni.showToast({
title: '空内容不能发布呦',
duration: 2000,
duration: 1000,
icon: 'error'
})
......@@ -91,11 +92,11 @@
if (res.result.code == 200) {
uni.showToast({
title: '发布成功',
duration: 2000,
duration:1000,
success: () => {
setTimeout(() => {
uni.navigateBack();
}, 1000)
}, 800)
}
})
}
......
......@@ -167,11 +167,11 @@
if (res.result.code == 200) {
uni.showToast({
title: '删除成功',
duration: 2000,
duration: 500,
success: () => {
setTimeout(() => {
uni.navigateBack()
}, 2000)
}, 500)
}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册