Merge branch 'master' of http://git.luyuan.tk/pplokijuhyg/falvpingtai into zhengjie

This commit is contained in:
asd 2019-12-03 09:41:26 +08:00
commit 220d2ec6a5
4 changed files with 6 additions and 2 deletions

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -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: '/'
}); });
}); });
} }

View File

@ -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',

View File

@ -0,0 +1,4 @@
module.exports = {
publicPath: "./"
}