From 7ae1b7da4b9f807e59772a96e1b14b1a1c9713dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=BA=A2=E4=B8=BD?= <1181930680@qq.com> Date: Mon, 29 Jul 2024 15:31:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/content/article/edit.vue | 2 +- src/views/content/category/edit.vue | 11 ----------- src/views/data/notice/edit.vue | 2 +- src/views/setting/configWeb/BasicSetting.vue | 2 +- 4 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/views/content/article/edit.vue b/src/views/content/article/edit.vue index c428ea0..11f6407 100644 --- a/src/views/content/article/edit.vue +++ b/src/views/content/article/edit.vue @@ -10,7 +10,7 @@
- +
diff --git a/src/views/content/category/edit.vue b/src/views/content/category/edit.vue index 39fd7af..e28196d 100644 --- a/src/views/content/category/edit.vue +++ b/src/views/content/category/edit.vue @@ -71,7 +71,6 @@ import type {FormInstance} from "element-plus"; import { categoryAdd,categoryUpdate,getCategoryList,getCategoryDetail } from '@/api/content/category'; import {onMounted, reactive, ref, shallowRef} from "vue"; -import {getModulesKey} from "@/router"; import {message,buildTree} from "@/utils/auth"; import {useLockFn} from "@/utils/useLockFn"; const props = defineProps({ @@ -93,16 +92,6 @@ const props = defineProps({ const emit = defineEmits(["success","update:visible"]); const formRef = shallowRef(); -const componentsOptions = ref(getModulesKey()); -const querySearch = (queryString: string, cb: any) => { - const results = queryString - ? componentsOptions.value.filter((item) => - item.toLowerCase().includes(queryString.toLowerCase()) - ) - : componentsOptions.value; - cb(results.map((item) => ({value: item}))); -}; - const formData = reactive({ id: "", //父级id diff --git a/src/views/data/notice/edit.vue b/src/views/data/notice/edit.vue index 9853217..e8dd4f4 100644 --- a/src/views/data/notice/edit.vue +++ b/src/views/data/notice/edit.vue @@ -47,7 +47,7 @@ prop="content" :rules="{ required: true, message: '请输入通知内容', trigger: 'blur' }" > - +
diff --git a/src/views/setting/configWeb/BasicSetting.vue b/src/views/setting/configWeb/BasicSetting.vue index ca27153..22e2fdf 100644 --- a/src/views/setting/configWeb/BasicSetting.vue +++ b/src/views/setting/configWeb/BasicSetting.vue @@ -60,7 +60,7 @@ :file-list="item.filePath" :z-index="index"/>