From 49a6f4d362469ad72503d7aaeb441b6b656d6da0 Mon Sep 17 00:00:00 2001
From: CrazyLionLi <31852897+JavaLionLi@users.noreply.github.com>
Date: 星期六, 28 五月 2022 21:58:12 +0800
Subject: [PATCH] fix 修复 运行缺失 @vueuse/core 依赖
---
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