摘要: const url = this.APIurl.API.api;const token = this.GLOBAL.token; this.$http({ type: "GET", url, headers: {'token': token} }).then(response => { consol 阅读全文
posted @ 2021-01-18 16:23 在学习编程的lsy呀 阅读(72) 评论(0) 推荐(0) 编辑
摘要: main.js import global_ from '../src/views/components/Global.vue'//引用文件 Vue.prototype.GLOBAL = global_; Global.vue <script> const token='12345678'; exp 阅读全文
posted @ 2021-01-18 14:28 在学习编程的lsy呀 阅读(83) 评论(0) 推荐(0) 编辑