refactor: ♻️ 组件 name 调整大写

Former-commit-id: e8d8f7b28d8866fc670fbf777efeb5f4256d810f
This commit is contained in:
haoxr
2023-05-21 15:15:35 +08:00
parent df7391bac0
commit 922a8bfbbd
8 changed files with 86 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
<!--字典类型-->
<script setup lang="ts">
defineOptions({
name: "dictType",
name: "DictType",
inheritAttrs: false,
});
@@ -215,7 +215,10 @@ onMounted(() => {
<el-card shadow="never">
<template #header>
<el-button type="success" @click="openDialog()"
<el-button
v-hasPerm="['sys:dict_type:add']"
type="success"
@click="openDialog()"
><i-ep-plus />新增</el-button
>
<el-button
@@ -252,6 +255,7 @@ onMounted(() => {
><i-ep-Collection />字典数据</el-button
>
<el-button
v-hasPerm="['sys:dict_type:edit']"
type="primary"
link
size="small"
@@ -259,6 +263,7 @@ onMounted(() => {
><i-ep-edit />编辑</el-button
>
<el-button
v-hasPerm="['sys:dict_type:delete']"
type="primary"
link
size="small"