hide account
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<button id="logout_btn" class="btn btn-sm btn-neutral mr-2" @click.prevent="logOutButton">
|
<button id="logout_btn" class="btn btn-sm btn-neutral mr-2" @click.prevent="logOutButton">
|
||||||
Logout
|
Logout
|
||||||
</button>
|
</button>
|
||||||
<img v-show="true" id="acct_mgmt_button" src="@/assets/icon-head-black.svg" width="32" height="32"
|
<img v-show="false" id="acct_mgmt_button" src="@/assets/icon-head-black.svg" width="32" height="32"
|
||||||
class="cursor-pointer" @click="onAcctHeadClick"
|
class="cursor-pointer" @click="onAcctHeadClick"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -48,17 +48,17 @@ const routes = [
|
|||||||
name: "Files",
|
name: "Files",
|
||||||
component: Files,
|
component: Files,
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
path: "/account",
|
// path: "/account",
|
||||||
name: "Account Management",
|
// name: "Account Management",
|
||||||
children: [
|
// children: [
|
||||||
{
|
// {
|
||||||
path: "/account/account-admin",
|
// path: "/account/account-admin",
|
||||||
name: "AcctAdmin",
|
// name: "AcctAdmin",
|
||||||
component: AccountAdmin,
|
// component: AccountAdmin,
|
||||||
},
|
// },
|
||||||
]
|
// ]
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
path: "/upload", // router.push({ replace: true }) 路徑不添進歷史紀錄
|
path: "/upload", // router.push({ replace: true }) 路徑不添進歷史紀錄
|
||||||
name: "Upload",
|
name: "Upload",
|
||||||
|
|||||||
Reference in New Issue
Block a user