refactor: 移除defineEmits和defineProps内置宏的引入
This commit is contained in:
@@ -169,7 +169,7 @@
|
||||
import {listTableMenus, getMenuDetail, listTreeSelectMenus, addMenu, deleteMenus, updateMenu} from "@/api/system/menu";
|
||||
import {Search, Plus, Edit, Refresh, Delete} from '@element-plus/icons'
|
||||
import {ElForm, ElMessage, ElMessageBox} from "element-plus";
|
||||
import {defineEmits, reactive, ref, unref, onMounted} from "vue";
|
||||
import { reactive, ref, unref, onMounted} from "vue";
|
||||
import SvgIcon from '@/components/SvgIcon/index.vue';
|
||||
import TreeSelect from '@/components/TreeSelect/index.vue';
|
||||
import IconSelect from '@/components/IconSelect/index.vue';
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<script setup lang="ts">
|
||||
import {listTreeSelectMenus} from "@/api/system/menu";
|
||||
import {listRoleMenuIds, updateRoleMenu} from "@/api/system/role"
|
||||
import {defineEmits, defineProps, nextTick, onMounted, reactive, ref, toRefs, watch} from "vue"
|
||||
import { nextTick, onMounted, reactive, ref, toRefs, watch} from "vue"
|
||||
import {ElTree, ElMessage, ElMessageBox} from "element-plus"
|
||||
import {Switch, Check} from '@element-plus/icons'
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<script setup lang="ts">
|
||||
import {listPerms} from "@/api/system/perm";
|
||||
import {listRolePerms, saveRolePerms} from "@/api/system/role";
|
||||
import {defineProps, onMounted, reactive, toRefs, watch} from "vue";
|
||||
import { onMounted, reactive, toRefs, watch} from "vue";
|
||||
import {ElMessage} from "element-plus";
|
||||
import {Check} from '@element-plus/icons'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user