refactor: Element Plus图标依赖@element-plus/icons过时,调整为@element-plus/icons-vue

This commit is contained in:
郝先瑞
2022-02-27 12:58:16 +08:00
parent 9cc66456b7
commit 5edc5ef334
23 changed files with 39 additions and 33 deletions

View File

@@ -34,7 +34,7 @@ import {listTreeSelectMenus} from "@/api/system/menu";
import {listRoleMenuIds, updateRoleMenu} from "@/api/system/role"
import { nextTick, onMounted, reactive, ref, toRefs, watch} from "vue"
import {ElTree, ElMessage, ElMessageBox} from "element-plus"
import {Switch, Check} from '@element-plus/icons'
import {Switch, Check} from '@element-plus/icons-vue'
const emit = defineEmits(['menuClick'])
const props = defineProps({

View File

@@ -44,7 +44,7 @@ import {listPerms} from "@/api/system/perm";
import {listRolePerms, saveRolePerms} from "@/api/system/role";
import { onMounted, reactive, toRefs, watch} from "vue";
import {ElMessage} from "element-plus";
import {Check} from '@element-plus/icons'
import {Check} from '@element-plus/icons-vue'
const props = defineProps({
role: {

View File

@@ -115,7 +115,7 @@
import {listRolesWithPage, updateRole, getRoleDetail, addRole, deleteRoles} from '@/api/system/role'
import { onMounted, reactive, ref, toRefs, unref} from "vue"
import {ElForm, ElMessage, ElMessageBox} from "element-plus";
import {Search, Plus, Edit, Refresh, Delete} from '@element-plus/icons'
import {Search, Plus, Edit, Refresh, Delete} from '@element-plus/icons-vue'
const emit = defineEmits(['roleClick'])
const dataForm = ref(ElForm) // 属性名必须和元素的ref属性值一致