更新字典错误
This commit is contained in:
parent
ad4cc5408d
commit
efc079c0e5
@ -99,7 +99,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 编辑对话框 -->
|
<!-- 编辑对话框 -->
|
||||||
<DictTypeEditDialog
|
<DictTypeEdit
|
||||||
v-model="editDialogVisible"
|
v-model="editDialogVisible"
|
||||||
:dict-type="currentDictType"
|
:dict-type="currentDictType"
|
||||||
@success="handleEditSuccess"
|
@success="handleEditSuccess"
|
||||||
@ -118,7 +118,7 @@
|
|||||||
getDictTypes,
|
getDictTypes,
|
||||||
deleteDictType,
|
deleteDictType,
|
||||||
} from '@/api/dict'
|
} from '@/api/dict'
|
||||||
import DictTypeEditDialog from './DictTypeEditDialog.vue'
|
import DictTypeEdit from './DictTypeEdit.vue'
|
||||||
|
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
'select-type': [typeId: number]
|
'select-type': [typeId: number]
|
||||||
|
|||||||
@ -113,7 +113,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 字典类型编辑对话框 -->
|
<!-- 字典类型编辑对话框 -->
|
||||||
<DictTypeEditDialog
|
<DictTypeEdit
|
||||||
v-model="typeDialogVisible"
|
v-model="typeDialogVisible"
|
||||||
:dict-type="currentDictType"
|
:dict-type="currentDictType"
|
||||||
@success="handleTypeSuccess"
|
@success="handleTypeSuccess"
|
||||||
@ -138,7 +138,7 @@ import {
|
|||||||
getDictTypes,
|
getDictTypes,
|
||||||
deleteDictType,
|
deleteDictType,
|
||||||
} from '@/api/dict'
|
} from '@/api/dict'
|
||||||
import DictTypeEditDialog from './components/DictTypeEdit.vue'
|
import DictTypeEdit from './components/DictTypeEdit.vue'
|
||||||
import DictItemList from './components/DictItemList.vue'
|
import DictItemList from './components/DictItemList.vue'
|
||||||
|
|
||||||
const currentView = ref<'types' | 'items'>('types')
|
const currentView = ref<'types' | 'items'>('types')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user