兰宝车间质量管理系统-前端
ahao
2023-12-27 3922c16601266e78ee3b90936ba49305c6c8b09a
src/views/system/role/authUser.vue
@@ -69,6 +69,7 @@
import { UserQuery } from '@/api/system/user/types';
import { UserVO } from '@/api/system/user/types';
import SelectUser from './selectUser.vue';
import { RouteLocationNormalized } from 'vue-router';
const route = useRoute();
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -102,7 +103,17 @@
};
// 返回按钮
const handleClose = () => {
  const obj = { path: '/system/role' };
  const obj: RouteLocationNormalized = {
    path: '/system/role',
    fullPath: '',
    hash: '',
    matched: [],
    meta: undefined,
    name: undefined,
    params: undefined,
    query: undefined,
    redirectedFrom: undefined
  };
  proxy?.$tab.closeOpenPage(obj);
};
/** 搜索按钮操作 */