This repository was archived by the owner on Oct 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 128
128
<div class =" " v-for =" (val, i) in schemainstance.data[index][field.name]" >
129
129
<Row >
130
130
<Col :span =" 23" > <a :href =" val" class =" list-group-item" target =" _blank" style =" color :blue ;padding :2px 2px ;" >{{val}}</a ></Col >
131
- <Col :span =" 1" ><a href =" #" style =" color :red ;float :right " @click =" removeSection(i, schemainstance.data[index][field.name])" >✕ ;  ; </a ></Col >
131
+ <Col :span =" 1" v-if = " i >= oldFiles " ><a href =" #" style =" color :red ;float :right " @click =" removeSection(i, schemainstance.data[index][field.name])" >✕ ;  ; </a ></Col >
132
132
</Row >
133
133
</div >
134
134
</div >
200
200
<div class =" " v-for =" (val, i) in schemainstance.data[index][field.name]" >
201
201
<Row >
202
202
<Col :span =" 23" > <a :href =" val" class =" list-group-item" target =" _blank" style =" color :blue ;padding :2px 2px ;" >{{val}}</a ></Col >
203
- <Col :span =" 1" ><a href =" #" style =" color :red ;float :right " @click =" removeSection(i, schemainstance.data[index][field.name])" >✕ ;  ; </a ></Col >
203
+ <Col :span =" 1" v-if = " i >= oldFiles " ><a href =" #" style =" color :red ;float :right " @click =" removeSection(i, schemainstance.data[index][field.name])" >✕ ;  ; </a ></Col >
204
204
</Row >
205
205
</div >
206
206
</div >
@@ -245,7 +245,8 @@ export default {
245
245
fileSize: 0 ,
246
246
fileUploadProgress: 0 ,
247
247
stratProgress: false ,
248
- jumperLinks: []
248
+ jumperLinks: [],
249
+ oldFiles: 0
249
250
}
250
251
},
251
252
components: {
@@ -511,6 +512,8 @@ export default {
511
512
}
512
513
},
513
514
mounted () {
515
+ console .log (' --------------------------------' , this .schemainstance .data [0 ].Fileattachment )
516
+ this .oldFiles = this .schemainstance .data [0 ].Fileattachment .length
514
517
},
515
518
created () {}
516
519
}
You can’t perform that action at this time.
0 commit comments