diff --git a/src/views/system/menu/components/Menu.vue b/src/views/system/menu/components/Menu.vue
index 3c814e11..013bf0bc 100644
--- a/src/views/system/menu/components/Menu.vue
+++ b/src/views/system/menu/components/Menu.vue
@@ -104,18 +104,18 @@
-
-
+
+
否
是
-
+
-
+
{
state.formData = response.data
+ const path = state.formData.path
+ state.isExternalPath = isExternal(path);
})
}
@@ -383,12 +399,12 @@ function cancel() {
function showSelectIcon() {
(iconSelectRef as any).value.reset();
- showChooseIcon.value = true;
+ state.showChooseIcon = true;
}
function selected(name: string) {
state.formData.icon = name;
- showChooseIcon.value = false;
+ state.showChooseIcon = false;
}
onMounted(() => {