From 8c4ad74120d03484b1216fbb3f15929d697720e4 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期四, 12 五月 2022 09:41:21 +0800 Subject: [PATCH] 修复表格无操作按钮右侧工具栏样式问题 --- src/views/system/dict/data.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/system/dict/data.vue b/src/views/system/dict/data.vue index 61711f8..aa52991 100644 --- a/src/views/system/dict/data.vue +++ b/src/views/system/dict/data.vue @@ -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(); @@ -242,8 +242,8 @@ /** 鏌ヨ瀛楀吀绫诲瀷鍒楄〃 */ function getTypeList() { - listType().then(response => { - typeOptions.value = response.rows; + getDictOptionselect().then(response => { + typeOptions.value = response.data; }); } /** 鏌ヨ瀛楀吀鏁版嵁鍒楄〃 */ -- Gitblit v1.9.3