Browse Source

fix: update

xiaoxian521 2 years ago
parent
commit
bae84cd1ba
2 changed files with 2 additions and 4 deletions
  1. 1 2
      src/views/system/role/index.vue
  2. 1 2
      src/views/system/user/index.vue

+ 1 - 2
src/views/system/role/index.vue

@@ -1,11 +1,10 @@
 <script setup lang="ts">
 import dayjs from "dayjs";
 import { getRoleList } from "/@/api/system";
-import { FormInstance } from "element-plus";
-import { ElMessageBox } from "element-plus";
 import { reactive, ref, onMounted } from "vue";
 import { EpTableProBar } from "/@/components/ReTable";
 import { Switch, message } from "@pureadmin/components";
+import { ElMessageBox, type FormInstance } from "element-plus";
 import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
 
 defineOptions({

+ 1 - 2
src/views/system/user/index.vue

@@ -2,11 +2,10 @@
 import dayjs from "dayjs";
 import tree from "./tree.vue";
 import { getUserList } from "/@/api/system";
-import { FormInstance } from "element-plus";
-import { ElMessageBox } from "element-plus";
 import { reactive, ref, onMounted } from "vue";
 import { EpTableProBar } from "/@/components/ReTable";
 import { Switch, message } from "@pureadmin/components";
+import { ElMessageBox, type FormInstance } from "element-plus";
 import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
 
 defineOptions({