ダイアログはボタングループなしで使用できます。

This commit is contained in:
Mouriya
2024-09-13 05:33:33 +09:00
parent fc510c6aec
commit 91d52cb6e2

View File

@@ -11,7 +11,7 @@
<q-card-section class="q-mt-md" :style="sectionStyle"> <q-card-section class="q-mt-md" :style="sectionStyle">
<slot></slot> <slot></slot>
</q-card-section> </q-card-section>
<q-card-actions align="right" class="text-primary"> <q-card-actions v-if="!disableBtn" align="right" class="text-primary">
<q-btn flat label="確定" v-close-popup @click="CloseDialogue('OK')" /> <q-btn flat label="確定" v-close-popup @click="CloseDialogue('OK')" />
<q-btn flat label="キャンセル" v-close-popup @click="CloseDialogue('Cancel')" /> <q-btn flat label="キャンセル" v-close-popup @click="CloseDialogue('Cancel')" />
</q-card-actions> </q-card-actions>
@@ -29,7 +29,11 @@ export default {
width:String, width:String,
height:String, height:String,
minWidth:String, minWidth:String,
minHeight:String minHeight:String,
disableBtn:{
type: Boolean,
default: false
}
}, },
emits: [ emits: [
'close' 'close'