เพิ่มเงิ่อนไขห้ามแก้ข้อมูล
This commit is contained in:
parent
bffe7f5568
commit
dca0d28c92
7 changed files with 34 additions and 7 deletions
|
|
@ -6,7 +6,7 @@
|
|||
{{ header }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="q-gutter-sm q-mx-sm" v-if="addData == false">
|
||||
<div class="q-gutter-sm q-mx-sm" v-if="addData == true">
|
||||
<q-btn
|
||||
size="12px"
|
||||
v-if="!edit"
|
||||
|
|
@ -45,9 +45,9 @@
|
|||
</q-btn>
|
||||
</div>
|
||||
<div class="q-pl-sm" v-else>
|
||||
<q-btn size="12px" flat round color="add" @click="add" icon="mdi-plus">
|
||||
<!-- <q-btn size="12px" flat round color="add" @click="add" icon="mdi-plus">
|
||||
<q-tooltip>เพิ่มข้อมูล</q-tooltip>
|
||||
</q-btn>
|
||||
</q-btn> -->
|
||||
</div>
|
||||
<q-space />
|
||||
</div>
|
||||
|
|
@ -71,7 +71,7 @@ const props = defineProps({
|
|||
},
|
||||
addData: {
|
||||
type: Boolean,
|
||||
defualt: false
|
||||
defualt: true
|
||||
},
|
||||
add: {
|
||||
type: Function,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue