src/views/system/notice/index.vue
@@ -160,6 +160,7 @@ <script setup name="Notice"> import { listNotice, getNotice, delNotice, addNotice, updateNotice } from "@/api/system/notice" import {onMounted} from "vue"; const { proxy } = getCurrentInstance() const { sys_notice_status, sys_notice_type } = proxy.useDict("sys_notice_status", "sys_notice_type") @@ -288,5 +289,7 @@ }).catch(() => {}) } getList() onMounted(() => { getList(); }); </script>