+
@@ -107,8 +101,8 @@
-
diff --git a/src/views/notification/bulletin/components/detail.vue b/src/views/notification/bulletin/components/detail.vue
index 1ee0267..529ce89 100644
--- a/src/views/notification/bulletin/components/detail.vue
+++ b/src/views/notification/bulletin/components/detail.vue
@@ -45,7 +45,7 @@
const renderData = ref
([]);
// const attachmentList = ref([]);
const fetchData = async (Id: number) => {
- const res = await bulletinStore.queryBulletinListAll(Id);
+ const res = await bulletinStore.queryBulletinDetail(Id);
// attachmentList.value = await bulletinStore.queryAttachmentInfo(
// '28452d83420650425d45110c6417bf693b966b29'
// );
diff --git a/src/views/notification/bulletin/index.vue b/src/views/notification/bulletin/index.vue
index 24c3acf..cb428ff 100644
--- a/src/views/notification/bulletin/index.vue
+++ b/src/views/notification/bulletin/index.vue
@@ -197,7 +197,7 @@
diff --git a/src/views/notification/notice/components/message-edit.vue b/src/views/notification/notice/components/message-edit.vue
index 7343887..99854ef 100644
--- a/src/views/notification/notice/components/message-edit.vue
+++ b/src/views/notification/notice/components/message-edit.vue
@@ -108,7 +108,7 @@
/>
import useVisible from '@/hooks/visible';
- import { computed, defineEmits, PropType, ref, shallowRef, onBeforeUnmount, reactive, onMounted } from 'vue';
+ import { computed, defineEmits, PropType, ref, shallowRef, onBeforeUnmount, onMounted } from 'vue';
import { CreateRecord } from '@/api/user';
import { FormInstance } from '@arco-design/web-vue/es/form';
import { Message } from '@arco-design/web-vue';
diff --git a/src/views/system/menu/components/menu-edit.vue b/src/views/system/menu/components/menu-edit.vue
index 936efa9..bb47e4c 100644
--- a/src/views/system/menu/components/menu-edit.vue
+++ b/src/views/system/menu/components/menu-edit.vue
@@ -132,7 +132,7 @@
:rules="[{ required: true, message: '请输入权限' }]"
>
@@ -171,7 +171,7 @@
locale: '',
requiresAuth: false,
hideInMenu: false,
- menuOrder: 0,
+ menuOrder: '0',
permissions: [],
order: 0,
showInMenu: false
@@ -182,11 +182,11 @@
const typeOptions = computed(() => [
{
label: '菜单',
- value: '1',
+ value: 1,
},
{
label: '权限',
- value: '2',
+ value: 2,
},
]);
@@ -195,8 +195,6 @@
// 组件被点击
const handleClick = () => {
setVisible(true);
- console.log(props.menuData);
- console.log(props.menu);
};
// 提交
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index dfe15cf..36581c0 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -223,6 +223,7 @@
try {
const res = await queryMenuList(formModel.value.name || 'all');
renderData.value = res.data;
+
} catch (err) {
// you can report use errorHandler or other
} finally {
diff --git a/src/views/system/user/components/user-edit.vue b/src/views/system/user/components/user-edit.vue
index c0b8702..fca17df 100644
--- a/src/views/system/user/components/user-edit.vue
+++ b/src/views/system/user/components/user-edit.vue
@@ -25,84 +25,84 @@
{{ formData.username }}
-
+
-
+
@@ -139,13 +139,12 @@