全局挂载字典标签组件

This commit is contained in:
RuoYi
2021-06-25 17:39:43 +08:00
parent 57f56c2769
commit dbf42739ca
3 changed files with 5 additions and 12 deletions

View File

@@ -184,14 +184,9 @@
<script>
import { listData, getData, delData, addData, updateData } from "@/api/system/dict/data";
import { listType, getType } from "@/api/system/dict/type";
// 字典标签组件(使用频繁可在全局挂载)
import DictTag from '@/components/DictTag'
export default {
name: "Data",
components: {
DictTag
},
data() {
return {
// 遮罩层

View File

@@ -193,14 +193,9 @@
<script>
import { listType, getType, delType, addType, updateType, refreshCache } from "@/api/system/dict/type";
// 字典标签组件(使用频繁可在全局挂载)
import DictTag from '@/components/DictTag'
export default {
name: "Dict",
components: {
DictTag
},
data() {
return {
// 遮罩层