From 0188d5c81ee28ab2f42edc5d1db67c9cdb0db42d Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期五, 29 三月 2024 23:15:46 +0800 Subject: [PATCH] 提交上传的图像的代码 --- ruoyi-ui/src/views/travel/edit.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/travel/edit.vue b/ruoyi-ui/src/views/travel/edit.vue index 2db2d43..5275ee3 100644 --- a/ruoyi-ui/src/views/travel/edit.vue +++ b/ruoyi-ui/src/views/travel/edit.vue @@ -65,7 +65,10 @@ return { cdi:"鏃呮父璐圭敤淇℃伅", udi:"鏃呮父璐圭敤淇敼", - fot:[".jpg",".jif","png"], + // 鏁版嵁鑼冨洿閫夐」 + 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:[ @@ -111,7 +114,8 @@ trigger: 'blur' }], groupTotal: [{ - // required: true, + + required: true, message: '璇疯緭鍏ュ洟璐�', trigger: 'blur' }], @@ -142,7 +146,7 @@ this.btn= jd this.dsb = !jd this.isShow=true - document.title = "淇敼鏃呰璐圭敤璇︾粏淇℃伅"; + // document.title = "淇敼鏃呰璐圭敤璇︾粏淇℃伅"; this.$route.meta.title = "淇敼鏃呰璐圭敤璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� } -- Gitblit v1.9.1