แก้ไข ขอบ บน popup เพิ่ม q-tree popup (ไม่สมบูณ)
This commit is contained in:
parent
b5069d1991
commit
79fec79b76
3 changed files with 1137 additions and 138 deletions
|
|
@ -11,16 +11,14 @@ const close = async () => {
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<q-toolbar class="header-main">
|
<q-toolbar class="q-py-md">
|
||||||
<q-toolbar-title class="header-text">{{ title }}</q-toolbar-title>
|
<q-toolbar-title class="header-text">{{ title }}</q-toolbar-title>
|
||||||
<q-btn icon="close" unelevated round dense @click="close" style="color: #ff8080; background-color: #ffdede" />
|
<q-btn icon="close" unelevated round dense @click="close" style="color: #ff8080; background-color: #ffdede" />
|
||||||
</q-toolbar>
|
</q-toolbar>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.header-main {
|
|
||||||
padding: 16px 0px 16px 27px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-text {
|
.header-text {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,7 +1,12 @@
|
||||||
interface DataOption {
|
interface DataOption {
|
||||||
id: number;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
}
|
disable?: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface treeTab {
|
||||||
export type { DataOption };
|
id: string;
|
||||||
|
label: string;
|
||||||
|
children: treeTab[];
|
||||||
|
}
|
||||||
|
export type { DataOption,treeTab };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue