Issue #3: Done.

This commit is contained in:
chiayin
2023-10-04 15:04:51 +08:00
parent c845d0674a
commit 40b339a235
4 changed files with 6 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
</figure>
<div class="flex justify-between items-center" v-show="showMember">
<button class="btn btn-sm btn-neutral mr-2" @click.prevent="logOut">
log out
Logout
</button>
<!-- <figure>
<router-link :to="'/member-area'">

View File

@@ -46,7 +46,7 @@ export default defineStore('loginStore', {
};
},
/**
* log out, tooken expired
* Logout, tooken expired
*/
logOut() {
let isCookie = document.cookie.split(';').some(c => c.trim().startsWith('luciaToken='));

View File

@@ -41,10 +41,10 @@
<div class="overflow-y-scroll overflow-x-hidden scrollbar -mx-2 max-h-[calc(100vh_-_480px)]" v-if="!switchListOrGrid">
<DataTable :value="allFiles" dataKey="id" tableClass="w-full !border-separate !border-spacing-x-2 text-sm cursor-pointer" breakpoint="0" @row-dblclick="enterDiscover($event.data)">
<Column field="name" header="Name" bodyClass="font-medium fileName" sortable></Column>
<Column field="parentLog" header="Parent log" bodyClass="text-neutral-500" sortable></Column>
<Column field="fileType" header="File type" bodyClass="text-neutral-500 fileType" sortable></Column>
<Column field="parentLog" header="Dependency" bodyClass="text-neutral-500" sortable></Column>
<Column field="fileType" header="File Type" bodyClass="text-neutral-500 fileType" sortable></Column>
<Column field="owner.name" header="Owner" bodyClass="text-neutral-500" sortable></Column>
<Column field="updated_at" header="Last update" bodyClass="text-neutral-500" sortable></Column>
<Column field="updated_at" header="Last Update" bodyClass="text-neutral-500" sortable></Column>
</DataTable>
</div>
<!-- All Files type of grid -->