优化
This commit is contained in:
@@ -232,7 +232,7 @@ async function submitHandle() {
|
||||
ElMessage.error("请选择打印设备");
|
||||
return;
|
||||
}
|
||||
Loading.value = true;
|
||||
loading.value = true;
|
||||
await printerAdd(form.value, form.value.id ? "put" : "post");
|
||||
ElMessage.success(form.value.id ? "编辑成功" : "添加成功");
|
||||
printStore.init();
|
||||
@@ -240,7 +240,7 @@ async function submitHandle() {
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
Loading.value = false;
|
||||
loading.value = false;
|
||||
}
|
||||
|
||||
// 查询打印机详情
|
||||
|
||||
Reference in New Issue
Block a user