浏览代码

Wasn't able to login

master
Lene Scholtz 5 年前
父节点
当前提交
0ed3de578e
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1
    1
      src/components/shared/navBar.vue
  2. 0
    1
      src/components/user/loginPage.vue

+ 1
- 1
src/components/shared/navBar.vue 查看文件

243
       'token',
243
       'token',
244
     ]),
244
     ]),
245
     NAME() {
245
     NAME() {
246
-      return JSON.parse(this.person).fullName;
246
+      return this.person.fullName;
247
     },
247
     },
248
     isLoggedIn() {
248
     isLoggedIn() {
249
       return this.token !== null && this.token !== undefined;
249
       return this.token !== null && this.token !== undefined;

+ 0
- 1
src/components/user/loginPage.vue 查看文件

6
         <div class="form">
6
         <div class="form">
7
           <div>
7
           <div>
8
             <h4>Login</h4>
8
             <h4>Login</h4>
9
-            <br />
10
           </div>
9
           </div>
11
           <div v-if="this.$store.state.authentication.status === 'error'">
10
           <div v-if="this.$store.state.authentication.status === 'error'">
12
             <alert
11
             <alert

正在加载...
取消
保存