Commit 0ec858fb authored by qinj's avatar qinj

提交延迟关闭页面

parent f8cb924a
......@@ -473,11 +473,14 @@ export default {
this.$request(Customer.searchUrl, this.paramsToFormData(this.formData)).then((resp) => {
this.btnloading = false
this.$message.success('提交成功!')
setTimeout(() => {
this.$router.back()
}, 1000);
// setTimeout(function(){
// console.log('延时两秒')
   window.location.href="about:blank";
window.close();
//    },20000);
//    window.location.href="about:blank";
// window.close();
//    },20000);
}).catch((err) => {
this.btnloading = false
})
......
......@@ -638,8 +638,7 @@ export default {
this.$message.success('提交成功!')
setTimeout(function(){
   this.$router.back()
   },20000);
   },1000);
}).catch((err) => {
this.btnloading = false
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment