refactor: 使用@/别名替换/@/别名

This commit is contained in:
xiaoxian521
2022-10-27 12:43:01 +08:00
parent 307944cdb5
commit 94f72cd6d9
108 changed files with 296 additions and 300 deletions

View File

@@ -1,11 +1,11 @@
<script setup lang="ts">
import { useColumns } from "./columns";
import { getDeptList } from "/@/api/system";
import { getDeptList } from "@/api/system";
import { FormInstance } from "element-plus";
import { handleTree } from "@pureadmin/utils";
import { reactive, ref, onMounted } from "vue";
import { TableProBar } from "/@/components/ReTable";
import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
import { TableProBar } from "@/components/ReTable";
import { useRenderIcon } from "@/components/ReIcon/src/hooks";
defineOptions({
name: "Dept"

View File

@@ -2,7 +2,7 @@
import { useI18n } from "vue-i18n";
import { ref, reactive } from "vue";
import { type Direction } from "element-plus";
import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
import { useRenderIcon } from "@/components/ReIcon/src/hooks";
import { type VxeTableEvents, type VxeTableInstance } from "vxe-table";
interface Props {

View File

@@ -5,7 +5,7 @@ import { useI18n } from "vue-i18n";
import { cloneDeep } from "lodash-unified";
import { reactive, ref, unref, nextTick } from "vue";
import { useCopyToClipboard } from "@pureadmin/utils";
import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
import { useRenderIcon } from "@/components/ReIcon/src/hooks";
import {
VXETable,
type TablePublicMethods,

View File

@@ -1,11 +1,11 @@
<script setup lang="ts">
import { useColumns } from "./columns";
import { getRoleList } from "/@/api/system";
import { getRoleList } from "@/api/system";
import { reactive, ref, onMounted } from "vue";
import { type FormInstance } from "element-plus";
import { TableProBar } from "/@/components/ReTable";
import { TableProBar } from "@/components/ReTable";
import { type PaginationProps } from "@pureadmin/table";
import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
import { useRenderIcon } from "@/components/ReIcon/src/hooks";
defineOptions({
name: "Role"

View File

@@ -1,12 +1,12 @@
<script setup lang="ts">
import tree from "./tree.vue";
import { useColumns } from "./columns";
import { getUserList } from "/@/api/system";
import { getUserList } from "@/api/system";
import { reactive, ref, onMounted } from "vue";
import { type FormInstance } from "element-plus";
import { TableProBar } from "/@/components/ReTable";
import { TableProBar } from "@/components/ReTable";
import { type PaginationProps } from "@pureadmin/table";
import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
import { useRenderIcon } from "@/components/ReIcon/src/hooks";
defineOptions({
name: "User"

View File

@@ -1,8 +1,8 @@
<script lang="ts" setup>
import type { ElTree } from "element-plus";
import { getDeptList } from "/@/api/system";
import { getDeptList } from "@/api/system";
import { handleTree } from "@pureadmin/utils";
import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
import { useRenderIcon } from "@/components/ReIcon/src/hooks";
import { ref, watch, onMounted, getCurrentInstance } from "vue";
interface Tree {