- 前端获取当前用户信息
import store from '@/store/' const user = store.getters.userInfo;
- 前端获取当前url,防止跨域问题
-
var urlLocal = window.location.protocol + '//' + window.location.host window._CONFIG['domianURL'] = urlLocal + '/jeecg-boot'
Jeecg-Boot使用总结(未完结)
阅读 65
2022-03-24
import store from '@/store/'
const user = store.getters.userInfo;
var urlLocal = window.location.protocol + '//' + window.location.host
window._CONFIG['domianURL'] = urlLocal + '/jeecg-boot'
相关推荐
精彩评论(0)