src/main.js
@@ -12,6 +12,9 @@ import swal from 'sweetalert' Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80/"; //前端本地端口 Vue.prototype.HaveJson = (val) => { return JSON.parse(JSON.stringify(val)) } Vue.use(VueAxios, axios) Vue.config.productionTip = false