This commit is contained in:
2023-06-21 11:32:15 +08:00
parent 32e4fff568
commit 5256338245
2 changed files with 1 additions and 19 deletions

View File

@ -238,10 +238,7 @@
<script setup name="Data">
import useDictStore from "@/store/modules/dict";
import {
optionselect as getDictOptionselect,
getType,
} from "@/api/system/dict/type";
import { getType } from "@/api/system/dict/type";
import {
listData,
getData,
@ -308,12 +305,6 @@ function getTypes(dictId) {
});
}
/** 查询字典类型列表 */
function getTypeList() {
getDictOptionselect().then((response) => {
typeOptions.value = response.data;
});
}
/** 查询字典数据列表 */
function getList() {
loading.value = true;
@ -429,5 +420,4 @@ function handleExport() {
}
getTypes(route.params && route.params.dictId);
getTypeList();
</script>