feature: 增加空方法后续业务逻辑处理
This commit is contained in:
@@ -257,9 +257,12 @@ const closeFunc = () => {
|
||||
funcFlag.value = false;
|
||||
};
|
||||
|
||||
const runFunc = () =>{
|
||||
// funcFlag.value = false;
|
||||
addFunc(autoFunc.value)
|
||||
const runFunc = async () =>{
|
||||
const res = await addFunc(autoFunc.value)
|
||||
if (res.code === 0) {
|
||||
ElMessage.success("增加方法成功");
|
||||
closeFunc()
|
||||
}
|
||||
}
|
||||
|
||||
// 分页
|
||||
|
Reference in New Issue
Block a user