|
@@ -99,7 +99,13 @@ export default defineComponent({
|
|
|
}))
|
|
|
return
|
|
|
}
|
|
|
- fetch(item.options.remoteFunc)
|
|
|
+ const token: any = sessionStorage.getItem('token')
|
|
|
+ fetch(item.options.remoteFunc, {
|
|
|
+ headers: {
|
|
|
+ "Content-type": " application/x-www-form-urlencoded; charset=UTF-8",
|
|
|
+ "Token": token
|
|
|
+ }
|
|
|
+ })
|
|
|
.then(resp => resp.json())
|
|
|
.then((json) => {
|
|
|
if (json instanceof Array) {
|