xuebaoxin #40

Manually merged
theluyuan merged 3 commits from xuebaoxin into master 2019-12-03 01:04:55 +00:00
4 changed files with 6 additions and 2 deletions

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -146,7 +146,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: "./"
}