|
|
@@ -97,12 +97,12 @@ const submitForm = () => {
|
|
|
addCardTools(formData)
|
|
|
.then(() => {
|
|
|
proxy?.$modal.msgSuccess('生效成功');
|
|
|
+ loadLastContent(); // ✅ 成功后刷新
|
|
|
})
|
|
|
.catch(() => {
|
|
|
let proxy;
|
|
|
proxy?.$modal.msgError('生效失败');
|
|
|
});
|
|
|
- loadLastContent();
|
|
|
};
|
|
|
const effectiveText = computed(() => {
|
|
|
return form.isDelete === 0 ? '已生效' : '未生效';
|