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