修改相关人员名单;

2.布局握手流程
This commit is contained in:
qq787203167
2022-04-22 10:34:26 +08:00
parent 5d5f7b752c
commit 0e21c294a2
7 changed files with 149 additions and 38 deletions
+13 -2
View File
@@ -3,7 +3,7 @@
<a-upload name="file" :showUploadList="false"
class="upload-text"
:multiple="false" :headers="tokenHeader"
:action="importUrl+'?cut='+cut"
:action="importUrl"
@change="handleImport"
:accept="accept">
<a-icon type="import" :rotate="270"/>
@@ -33,14 +33,25 @@
type: String,
default: ''
},
projectId:{
type: String,
default: ''
},
},
data() {
return {
tokenHeader: {'X-Access-Token': Vue.ls.get(ACCESS_TOKEN)},
importUrl: window._CONFIG['domianURL'] +'/'+ this.url.importZipUrl,
cut: '',
}
},
computed:{
importUrl(){
if (this.projectId){
return window._CONFIG['domianURL'] +'/'+ this.url.importZipUrl+'?cut='+this.cut+'&projectId='+this.projectId
}
return window._CONFIG['domianURL'] +'/'+ this.url.importZipUrl+'?cut='+this.cut
},
},
mounted() {
let long = localStorage.getItem('language')
this.cut = ''