From 9358e87ae9595a591bcfa1e2e325d16bdbbe9c6c Mon Sep 17 00:00:00 2001 From: "X.Mo" Date: Wed, 6 Mar 2024 17:14:27 +0800 Subject: [PATCH] fix --- package.json | 2 +- src/api/system/dict.js | 12 ++++++++++++ src/components/ma-upload/components/chunk-upload.vue | 2 -- src/layout/index.vue | 1 - 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9688e2e1..1b218437 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mineadmin-vue", "admin_name": "mineadmin-vue", - "version": "2.0", + "version": "2.0LTS", "type": "module", "license": "MIT", "scripts": { diff --git a/src/api/system/dict.js b/src/api/system/dict.js index c7416777..414fbe15 100644 --- a/src/api/system/dict.js +++ b/src/api/system/dict.js @@ -14,6 +14,18 @@ export const dictType = { }) }, + /** + * 获取字典,无分页 + * @returns + */ + getList(params = {}) { + return request({ + url: 'system/dictType/list', + method: 'get', + params + }) + }, + /** * 从回收站获取字典类型 * @returns diff --git a/src/components/ma-upload/components/chunk-upload.vue b/src/components/ma-upload/components/chunk-upload.vue index 9e1c3022..30e793bf 100644 --- a/src/components/ma-upload/components/chunk-upload.vue +++ b/src/components/ma-upload/components/chunk-upload.vue @@ -188,8 +188,6 @@ const chunkUpload = async(options) => { } if(res.data && res.data.code && res.data.code === 201) { const percent = Math.floor((1 / chunks) * 10000) / 10000; - console.log('showFileList.value[idx].percent', showFileList.value[idx].percent) - console.log('percent', percent) if(config.multiple) { showFileList.value[idx].percent += percent } else { diff --git a/src/layout/index.vue b/src/layout/index.vue index f2529004..5ad85e84 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -43,7 +43,6 @@ const settingRef = ref() const systemSearchRef = ref() -console.log(appStore.layout) watch(() => appStore.settingOpen, vl => { if (vl === true) { settingRef.value.open()