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);
 | 
			
		||||
                    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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user