Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Mar 6, 2024
1 parent 388623f commit 9358e87
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mineadmin-vue",
"admin_name": "mineadmin-vue",
"version": "2.0",
"version": "2.0LTS",
"type": "module",
"license": "MIT",
"scripts": {
Expand Down
12 changes: 12 additions & 0 deletions src/api/system/dict.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ export const dictType = {
})
},

/**
* 获取字典,无分页
* @returns
*/
getList(params = {}) {
return request({
url: 'system/dictType/list',
method: 'get',
params
})
},

/**
* 从回收站获取字典类型
* @returns
Expand Down
2 changes: 0 additions & 2 deletions src/components/ma-upload/components/chunk-upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion src/layout/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@

const settingRef = ref()
const systemSearchRef = ref()
console.log(appStore.layout)
watch(() => appStore.settingOpen, vl => {
if (vl === true) {
settingRef.value.open()
Expand Down

0 comments on commit 9358e87

Please sign in to comment.