From c6d77da29defbfa9539a8a358c8962a8abf17549 Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Fri, 3 Sep 2021 20:06:59 +0800 Subject: [PATCH] =?UTF-8?q?eslint=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api.js | 2 +- src/api/manage.js | 2 +- src/components/dict/JDictSelectUtil.js | 2 -- src/components/jero/JImageUpload.vue | 5 ++--- .../incomePayments/meetManage/MeetManageList.vue | 6 +++--- .../incomePayments/meetManage/SignUpInfoEdit.vue | 16 ++++++++-------- .../modules/ImportParticipantModal.vue | 3 --- src/views/system/DepartUserList.vue | 2 +- src/views/system/DictDeleteList.vue | 2 +- src/views/system/SysCategoryList.vue | 4 ++-- src/views/system/SysCheckRuleList.vue | 2 +- src/views/system/UserAnnouncementList.vue | 4 +--- src/views/system/modules/DeptBaseInfo.vue | 2 +- src/views/system/modules/DeptRoleAuthModal.vue | 4 ++-- src/views/system/modules/DeptRoleUserModal.vue | 4 ++-- src/views/system/modules/TenantForm.vue | 2 -- src/views/system/modules/UserModal.vue | 3 +-- src/views/user/alteration/Step1.vue | 2 +- src/views/user/alteration/Step3.vue | 2 +- src/views/user/alteration/Step4.vue | 2 +- src/views/user/register/Register.vue | 3 +-- 21 files changed, 31 insertions(+), 43 deletions(-) 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 @@