bug: 政策法规资料导入添加token
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
drag
|
||||
:action="action"
|
||||
ref="importfile"
|
||||
:headers="headers"
|
||||
name="file"
|
||||
accept=".ZIP, .zip"
|
||||
:before-upload="beginImportFile"
|
||||
@@ -41,6 +42,9 @@ export default {
|
||||
name: "importZip",
|
||||
data () {
|
||||
return {
|
||||
headers:{
|
||||
token: JSON.parse(localStorage.getItem('userInfo')).token
|
||||
},
|
||||
importFailed: false,
|
||||
importForm: {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user