文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit d653226e by 李严凡

图层默认文件显示

parent 812263b0
......@@ -460,10 +460,7 @@
alert("加载错误!!!");
}
})
if(this.ins == '1'){
//设置
}
else if(this.ins == 2){
if(this.ins == 2){
this.taskId = this.$route.params.taskId,
this.axios({
method:'post',
......@@ -491,7 +488,10 @@
}
})
}
else{
this.dynamicValidateForm.layerDomains[0].fileList.push({name:"默认文件",url:"默认路径",size:2333});
console.log(this.dynamicValidateForm.layerDomains[0].fileList);
}
},200);
},
computed:{
......@@ -687,6 +687,12 @@
})
},
handleRemoveL(file,fileList){
if(file.url == "默认路径"){
alert("该文件系统备用,不可删除");
console.log(this.dynamicValidateForm.layerDomains)
return;
}
console.log("inin");
var flag = 0;
for(var i = 0 ; i < this.dynamicValidateForm.layerDomains.length && flag == 0 ;i++){
for(var j = 0 ; j < this.dynamicValidateForm.layerDomains[i].fileList.length ; j++){
......@@ -814,7 +820,7 @@
//添加图层分片
else if(ptype == 3){
this.dynamicValidateForm.layerDomains.push({
fileList:new Array(),
fileList:[{name:"默认文件",url:"默认路径",size:2333}],
description:'',
key: Date.now()
});
......
参加过一次软院心理讲座,但是未录入
有博雅记录的一共4次
总共5次博雅
\ No newline at end of file
参加过一次软院心理讲座,但是未录入
有博雅记录的一共4次
总共5次博雅
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment