From f468170d79dee3f8efb75705c7e23a1b53e54e91 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 29 七月 2025 22:08:02 +0800 Subject: [PATCH] 修改了内容 --- ruoyi-ui/src/views/selfeconomy/index.vue | 30 +++++++++++++++++------------- 1 files changed, 17 insertions(+), 13 deletions(-) diff --git a/ruoyi-ui/src/views/selfeconomy/index.vue b/ruoyi-ui/src/views/selfeconomy/index.vue index aad13e9..40e5702 100644 --- a/ruoyi-ui/src/views/selfeconomy/index.vue +++ b/ruoyi-ui/src/views/selfeconomy/index.vue @@ -666,7 +666,7 @@ dateRange: [], // 鏁版嵁鑼冨洿閫夐」 // 鏁版嵁鑼冨洿閫夐」 - fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx', + fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx','HEIC', '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng','.m4a','.M4A'], fileList:[ @@ -1177,22 +1177,26 @@ addSelfEconomy(this.formDat).then(response => { this.$modal.msgSuccess("鏂板鎴愬姛"); - this.open = false; + // this.open = false; + // 娓呯┖formDat瀵硅薄鐨勬暟鎹� + Object.keys(this.formDat).forEach(key => { + this.formDat[key] = ''; + }); + var fl = this.fileList.length + for(let i = 0; i < fl; i++) + { + this.handleRemove(this.fileList[0]); + } + var gh = this.fileListOther.length + for(let i = 0; i < gh; i++){ + this.handleRemoveFile(this.fileListOther[0]); + } + // alert(123) this.getList(); }); } }); - // 娓呯┖formDat瀵硅薄鐨勬暟鎹� - Object.keys(this.formDat).forEach(key => { - this.formDat[key] = ''; - }); - for(let i = 0; i <= this.fileList.length; i++) - { - this.handleRemove(this.fileList[0]); - } - for(let i = 0; i < this.fileListOther.length; i++){ - this.handleRemoveFile(this.fileListOther[0]); - } + }, handleChange(file, fileList1) { //瀹氫箟涓�涓叏灞�鏁扮粍uploadFileList鏉ュ仛瀛樺偍 -- Gitblit v1.9.1