Commit f0b8cebe by LJM

js

parent 11800c2a
Showing with 9 additions and 1 deletions
...@@ -246,6 +246,7 @@ export default { ...@@ -246,6 +246,7 @@ export default {
}); });
}, },
submit() { submit() {
var self = this;
let params = {}; let params = {};
let arr = []; let arr = [];
if (this.list.length <= 0) { if (this.list.length <= 0) {
...@@ -278,7 +279,14 @@ export default { ...@@ -278,7 +279,14 @@ export default {
uni.showModal({ uni.showModal({
title: '提示', title: '提示',
content: '保存成功', content: '保存成功',
showCancel: false showCancel: false,
success: function(res) {
if (res.confirm) {
self.list = [];
self.box_sn = '';
self.code_str = '';
}
}
}); });
} else { } else {
uni.showModal({ uni.showModal({
......
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 sign in to comment