兰宝车间质量管理系统-前端
疯狂的狮子Li
2024-01-14 b783b8d991dcca24a5e7d93fe9232e2fcb9bd663
src/views/system/user/authRole.vue
@@ -58,6 +58,8 @@
import { RoleVO } from '@/api/system/role/types';
import { getAuthRole, updateAuthRole } from '@/api/system/user';
import { UserForm } from '@/api/system/user/types';
import { RouteLocationNormalized } from 'vue-router';
import { parseTime } from "@/utils/ruoyi";
const route = useRoute();
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -91,7 +93,17 @@
};
/** 关闭按钮 */
const close = () => {
  const obj = { path: '/system/user' };
  const obj: RouteLocationNormalized = {
    fullPath: '',
    hash: '',
    matched: [],
    meta: undefined,
    name: undefined,
    params: undefined,
    query: undefined,
    redirectedFrom: undefined,
    path: '/system/user'
  };
  proxy?.$tab.closeOpenPage(obj);
};
/** 提交按钮 */