瀏覽代碼

remove unknown method

pull/342/head
Guillaume Vincent 8 年之前
父節點
當前提交
ed7ee3089a
共有 1 個檔案被更改,包括 1 行新增4 行删除
  1. +1
    -4
      src/services/auth.js

+ 1
- 4
src/services/auth.js 查看文件

@@ -38,14 +38,11 @@ export default {
return token
});
},
gu() {
return this.user.authenticated
},
authUser(token){
this.localStorage.setItem('token', token);
this.user.authenticated = true;
},
resetAuth(e){
resetAuth(err){
this.localStorage.removeItem('token');
this.user.authenticated = false;
throw err;


Loading…
取消
儲存