mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
--fix bug
This commit is contained in:
@@ -431,6 +431,7 @@ const showModal = () => {
|
||||
|
||||
function showEditModal(ele) {
|
||||
formValue.value = ele;
|
||||
formValue.value.edit = true;
|
||||
modal.value = true;
|
||||
}
|
||||
|
||||
@@ -443,7 +444,7 @@ const editChapter = () => {
|
||||
if (!formValue.value.name) {
|
||||
return message.warning("请输入关卡名称");
|
||||
}
|
||||
if (formValue.value.id) {
|
||||
if (formValue.value.edit) {
|
||||
closeModal();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user