修改相关人员名单;
2.布局握手流程
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user