Skip to content

Commit

Permalink
修复字典数据显示不全问题(I55MR3)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzongzhuan committed May 9, 2022
1 parent 17950a3 commit 306137b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/system/dict/data.vue
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
</template>

<script setup name="Data">
import { listType, getType } from "@/api/system/dict/type";
import { optionselect as getDictOptionselect, getType } from "@/api/system/dict/type";
import { listData, getData, delData, addData, updateData } from "@/api/system/dict/data";
const { proxy } = getCurrentInstance();
Expand Down Expand Up @@ -242,8 +242,8 @@ function getTypes(dictId) {
/** 查询字典类型列表 */
function getTypeList() {
listType().then(response => {
typeOptions.value = response.rows;
getDictOptionselect().then(response => {
typeOptions.value = response.data;
});
}
/** 查询字典数据列表 */
Expand Down

0 comments on commit 306137b

Please sign in to comment.