From a4d8869bff7df9a2b888530df9efef46b8d6eaf4 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期四, 22 二月 2024 12:47:00 +0800 Subject: [PATCH] 提交多图片,视频上传 --- ruoyi-ui/src/views/honor/honorInfo.vue | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/honor/honorInfo.vue b/ruoyi-ui/src/views/honor/honorInfo.vue index 79d5644..b3dfe10 100644 --- a/ruoyi-ui/src/views/honor/honorInfo.vue +++ b/ruoyi-ui/src/views/honor/honorInfo.vue @@ -222,7 +222,10 @@ return { cdi:"鑽h獕璇佷功璇︾粏淇℃伅", udi:"鑽h獕璇佷功淇℃伅璇︽儏", - fot:[".jpg",".jif"], + // 鏁版嵁鑼冨洿閫夐」 + fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx', + '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'], + fileList:[], fileListOther:[], dsb:true, @@ -328,11 +331,12 @@ this.isShow=true this.showInput=true this.isEditing=true - document.title = "淇敼鑽h獕璇佷功璇︾粏淇℃伅"; + + // document.title = "淇敼鑽h獕璇佷功璇︾粏淇℃伅"; this.$route.meta.title = "淇敼鑽h獕璇佷功璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� } else{ - document.title = "鏌ョ湅鑽h獕璇佷功璇︾粏淇℃伅"; + // document.title = "鏌ョ湅鑽h獕璇佷功璇︾粏淇℃伅"; this.$route.meta.title = "鏌ョ湅鑽h獕璇佷功璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� this.isShow=false this.btn = false; @@ -343,6 +347,7 @@ this.loading = true; getHonor({id}).then((response) => { this.formData = response.data; + // alert(this.formData.type) let paths = response.data.url.split(","); for(let i = 0; i < paths.length; i++) { -- Gitblit v1.9.1