diff --git a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryInfoUpfile.vue b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryInfoUpfile.vue index 6280c4c..cc36778 100644 --- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryInfoUpfile.vue +++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryInfoUpfile.vue @@ -368,8 +368,8 @@ }, beforeUpload(file) {// 单个文件校验,返回false不影响其他文件上传 - if (file.size > 256 * 1024 * 1024) { - this.$message({message: '文件[' + file.name + ']不允许大于256M,上传失败',type: 'warning'}); + if (file.size > 500 * 1024 * 1024) { + this.$message({message: '文件[' + file.name + ']不允许大于500M,上传失败',type: 'warning'}); return false; } // 校验上传名称是否存在相同,相同则提示上传失败 diff --git a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue index f14671c..dbb9be9 100644 --- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue +++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue @@ -207,7 +207,7 @@
- + {{newtitle}}
@@ -391,7 +391,7 @@ return { loading: false, newwidth:'280px', - newwidthtrue:false, + newwidthtrue:true, newtitle:'收起', mainHeight: (parseInt(this.$store.getters.getTopMainHeightFn) - (this.showFooter ? 45 : 0)) + 'px', tableLoading: false, @@ -484,7 +484,6 @@ created() { }, mounted(){ - this.initData(); this.rowDrop(); // 【伊利架构筛选需求】将本组件内的initData方法暴露 方便别的组件调用 @@ -506,12 +505,12 @@ if(this.newwidthtrue==false){ this.newwidthtrue = true; this.newwidth ='28px'; - //this.newtitle = '展开'; + this.newtitle = '展开'; this.imgPath=require('@/assets/double-arrow-left.png'); }else{ this.newwidthtrue = false; this.newwidth ='280px'; - //this.newtitle = '收起'; + this.newtitle = '收起'; this.imgPath=require('@/assets/double-arro-right.png'); } }, @@ -583,7 +582,6 @@ }, initData() { const that = this; - that.tableLoading = true; const wsId = that.$store.getters.getWsIdFn; const teamId = that.$store.getters.getTeamIdFn; @@ -682,8 +680,10 @@ } } - that.imgPath=require("@/assets/double-arro-right.png"); - + //默认收起操作 + that.newwidth ='28px'; + that.newtitle = '展开'; + that.imgPath=require('@/assets/double-arrow-left.png'); } }).catch(error=>{ console.log(error);