From a48bd04b2616e7fc2d95062ece5c840edb1d59c4 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期日, 29 五月 2022 10:28:00 +0800
Subject: [PATCH] 升级unplugin-auto-import到最新版本0.8.5
---
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