Merge branch 'master' of http://git.luyuan.tk/pplokijuhyg/falvpingtai into zhengjie
This commit is contained in:
commit
220d2ec6a5
@ -150,7 +150,7 @@ export default {
|
|||||||
window.console.log(res);
|
window.console.log(res);
|
||||||
localStorage.setItem("token", res.data.data);
|
localStorage.setItem("token", res.data.data);
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: `/`
|
path: '/'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ import sign from "./sign"
|
|||||||
import ArticleDetail from "./articledetail.vue"
|
import ArticleDetail from "./articledetail.vue"
|
||||||
Vue.use(Router)
|
Vue.use(Router)
|
||||||
const router=new Router({
|
const router=new Router({
|
||||||
mode:'history',
|
mode:'hash',
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
path: '/articledetail',
|
path: '/articledetail',
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
module.exports = {
|
||||||
|
publicPath: "./"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user