重构组合式api

This commit is contained in:
WUSIJIAN
2025-11-25 17:02:31 +08:00
parent 428989c993
commit 4d6f49598e
16 changed files with 2213 additions and 1631 deletions

View File

@@ -47,7 +47,7 @@
import { toRefs, reactive, onMounted, ref, defineComponent, toRaw, getCurrentInstance } from 'vue';
import { ElMessageBox, ElMessage } from 'element-plus';
import EditRole from '/@/views/customerService/script/component/editRole.vue';
import { deleteRole, getRoleList } from '/@/api/system/role';
import { deleteRole, getRoleList } from '/@/api/customerService/script';
// 定义接口来定义对象的类型
interface TableData {
id: number;