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">
|
||||
Logout
|
||||
</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"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -48,17 +48,17 @@ const routes = [
|
||||
name: "Files",
|
||||
component: Files,
|
||||
},
|
||||
{
|
||||
path: "/account",
|
||||
name: "Account Management",
|
||||
children: [
|
||||
{
|
||||
path: "/account/account-admin",
|
||||
name: "AcctAdmin",
|
||||
component: AccountAdmin,
|
||||
},
|
||||
]
|
||||
},
|
||||
// {
|
||||
// path: "/account",
|
||||
// name: "Account Management",
|
||||
// children: [
|
||||
// {
|
||||
// path: "/account/account-admin",
|
||||
// name: "AcctAdmin",
|
||||
// component: AccountAdmin,
|
||||
// },
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
path: "/upload", // router.push({ replace: true }) 路徑不添進歷史紀錄
|
||||
name: "Upload",
|
||||
|
||||
Reference in New Issue
Block a user