From 4d3ebe187b31d7b9b1827a4e006749deddfc38ae Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 05 三月 2024 17:45:48 +0800 Subject: [PATCH] 修改了个人模块的图片上传等问题 --- ruoyi-ui/src/views/self/memoInfo.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/self/memoInfo.vue b/ruoyi-ui/src/views/self/memoInfo.vue index 21e3a4f..2bade5d 100644 --- a/ruoyi-ui/src/views/self/memoInfo.vue +++ b/ruoyi-ui/src/views/self/memoInfo.vue @@ -134,7 +134,7 @@ class="el-upload-list__item-thumbnail" src="../../assets/401_images/401.gif" alt="" - style="width: 100%; height: 100%" + style="width: 147px; height: 147px" fit="cover"> <span class="el-upload-list__item-actions"> @@ -172,7 +172,7 @@ </el-form> </div> <el-dialog :visible.sync="dialogVisible"> - <img w-full :src="dialogImageUrl" style="width: 700px; height: 700px" alt="Preview Image" /> + <img w-full :src="dialogImageUrl" style="width: 100%; height: 100%" alt="Preview Image" /> </el-dialog> </div> </template> @@ -192,7 +192,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:[], dsb:true, @@ -258,11 +261,11 @@ this.btn= jd this.dsb = !jd this.isShow=true - document.title = "淇敼涓汉璁颁簨鏈缁嗕俊鎭�"; + // document.title = "淇敼涓汉璁颁簨鏈缁嗕俊鎭�"; this.$route.meta.title = "淇敼涓汉璁颁簨鏈缁嗕俊鎭�";//鍒楄〃鐨勫悕绉� } else{ - document.title = "涓汉璁颁簨鏈缁嗕俊鎭�"; + // document.title = "涓汉璁颁簨鏈缁嗕俊鎭�"; this.$route.meta.title = "涓汉璁颁簨鏈缁嗕俊鎭�";//鍒楄〃鐨勫悕绉� this.isShow=false this.btn = false; -- Gitblit v1.9.1