diff --git a/src/api/api.js b/src/api/api.js index 72d4aea..e68d333 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -1,4 +1,4 @@ -import { getAction, deleteAction, postAction, httpAction } from '@/api/manage' +import { getAction, deleteAction,putAction, postAction, httpAction } from '@/api/manage' import Vue from 'vue' import {UI_CACHE_DB_DICT_DATA } from '@/store/mutation-types' diff --git a/src/api/manage.js b/src/api/manage.js index ec6563f..fe756e1 100644 --- a/src/api/manage.js +++ b/src/api/manage.js @@ -171,7 +171,7 @@ export function getFileAccessHttpUrl(avatar,subStr) { if(avatar && avatar.startsWith(subStr)){ return avatar }else{ - if(avatar && avatar.length>0 && avatar.indexOf('[')==-1){ + if(avatar && avatar.length>0 && avatar.indexOf('[')==-1){ return window._CONFIG['staticDomainURL'] + '/' + avatar } } diff --git a/src/components/dict/JDictSelectUtil.js b/src/components/dict/JDictSelectUtil.js index 06ddb88..83b43c0 100644 --- a/src/components/dict/JDictSelectUtil.js +++ b/src/components/dict/JDictSelectUtil.js @@ -5,7 +5,6 @@ */ import {ajaxGetDictItems,getDictItemsFromCache} from '@/api/api' -import {getAction} from '@/api/manage' /** * 获取字典数组 @@ -137,7 +136,6 @@ export async function getDictItems(dictCode, params) { console.log('------- 从DB中获取到了字典-------dictCode : ', dictCode, res) return Promise.resolve(res) } else { - console.error('getDictItems error: : ', res) return Promise.resolve([]) } }).catch((res) => { diff --git a/src/components/jero/JImageUpload.vue b/src/components/jero/JImageUpload.vue index 64a7571..16c4bbc 100644 --- a/src/components/jero/JImageUpload.vue +++ b/src/components/jero/JImageUpload.vue @@ -87,7 +87,6 @@ computed: { //透传给下级组件的事件,需要排除本组件使用的change事件 childListeners() { - const vm = this let result = Object.assign({}, this.$listeners, ) @@ -97,7 +96,7 @@ }, watch:{ value: { - handler(val,oldValue) { + handler(val) { if (val instanceof Array) { this.initFileList(val.join(',')) } else { @@ -207,7 +206,7 @@ } this.$emit('change', path) }, - handleDelete(file){ + handleDelete(){ //如有需要新增 删除逻辑 }, handleCancel() { diff --git a/src/views/incomePayments/meetManage/MeetManageList.vue b/src/views/incomePayments/meetManage/MeetManageList.vue index ef3f4d3..01a33e1 100644 --- a/src/views/incomePayments/meetManage/MeetManageList.vue +++ b/src/views/incomePayments/meetManage/MeetManageList.vue @@ -73,7 +73,7 @@ class="j-table-force-nowrap" @change="handleTableChange"> - \ No newline at end of file diff --git a/src/views/system/modules/DeptRoleAuthModal.vue b/src/views/system/modules/DeptRoleAuthModal.vue index 13be75b..29a2d5f 100644 --- a/src/views/system/modules/DeptRoleAuthModal.vue +++ b/src/views/system/modules/DeptRoleAuthModal.vue @@ -57,14 +57,14 @@