Commit f2d9ff7b by shaojiawen

update: 废弃弹窗文案

parent 62479775
...@@ -116,8 +116,8 @@ export default { ...@@ -116,8 +116,8 @@ export default {
}, },
discardCode() { discardCode() {
const that = this; const that = this;
this.$confirm('确认要作废该活码?此操作将永久废弃该活码,请确保不影响其他投放使用!', '作废提示', { this.$confirm('此操作将永久废弃该活码,请确保不影响其他投放使用!', '确认要作废该活码?', {
confirmButtonText: '删除', confirmButtonText: '作废',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
......
...@@ -195,7 +195,10 @@ export default { ...@@ -195,7 +195,10 @@ export default {
watch: { watch: {
welcomeId: function(newData, oldData) { welcomeId: function(newData, oldData) {
const that = this; const that = this;
if (!newData || newData.length <= 0) return; if (!newData || newData.length <= 0) {
this.welcomeData = null;
return;
}
that.welcomeId = newData || ''; that.welcomeId = newData || '';
that.getwelcomeInfo(); that.getwelcomeInfo();
}, },
......
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