feat base提示
This commit is contained in:
@@ -84,11 +84,11 @@ const save = async () => {
|
|||||||
updateDemo(form.value)
|
updateDemo(form.value)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log('保存成功', res);
|
console.log('保存成功', res);
|
||||||
//ElMessage.success('保存成功');
|
ElMessage.success('保存成功');
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.error('保存失败', err);
|
console.error('保存失败', err);
|
||||||
//ElMessage.error('保存失败');
|
ElMessage.error('保存失败');
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user