最近在学习SpringBoot的时候遇到:Circular view path [ok]: would dispatch back to the current handler URL [/user/ok] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.) 原…
request----------接口的写法 1.request.js文件2.公用base地址的引入3.post、get接口4.全局注册:使用时this.api.xxxxx(xx) 1.request.js文件
import axios from axios
import Cookies from js-cookie
import { Message, Notification, Loading } from element-ui
…