refactor: components edit

This commit is contained in:
somnetsak123 2023-11-28 09:22:44 +07:00 committed by Methapon2001
parent 2b07b0fba5
commit 72888c407e
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
5 changed files with 104 additions and 199 deletions

View file

@ -43,50 +43,4 @@ const editInput = ref<string>()
</q-list>
</q-menu>
</q-btn>
<!-- <q-drawer
class="q-pa-md"
side="left"
v-model="editdrawer"
bordered
:width="300"
:breakpoint="500"
overlay
>
<q-toolbar class="q-mb-md q-pa-none">
<q-toolbar-title>
<span class="text-weight-bold">แกไขช{{ DEPT_NAME[currentDept] }}</span>
</q-toolbar-title>
<q-btn
flat
round
dense
icon="close"
v-close-popup
color="red"
@click="editdrawer = !editdrawer"
/>
</q-toolbar>
<span class="text-weight-bold">{{ DEPT_NAME[currentDept] }}</span>
<q-input
class="q-my-md"
outlined
v-model="editInput"
:placeholder="`กรอกชื่อ${DEPT_NAME[currentDept]}`"
dense
/>
<q-btn
class="q-px-md"
label="บันทึก"
type="submit"
color="primary"
dense
@click="
() => {
editdrawer = !editdrawer
editFolder(editname,editInput)
editInput = ''
}
"
/>
</q-drawer> -->
</template>