fix 修复代码生成 删除按钮报错 loading 不取消问题

master
疯狂的狮子li 5 years ago
parent 652a39b11c
commit a5a71bf505

@ -505,7 +505,9 @@ export default {
this.loading = false; this.loading = false;
this.getList(); this.getList();
this.msgSuccess("删除成功"); this.msgSuccess("删除成功");
}).catch(() => {}); }).finally(() => {
this.loading = false;
});
} }
} }
}; };

@ -562,7 +562,9 @@ export default {
this.loading = false; this.loading = false;
this.getList(); this.getList();
this.msgSuccess("删除成功"); this.msgSuccess("删除成功");
}).catch(() => {}); }).finally(() => {
this.loading = false;
});
}, },
#if($table.sub) #if($table.sub)
/** ${subTable.functionName}序号 */ /** ${subTable.functionName}序号 */

Loading…
Cancel
Save