updated
This commit is contained in:
parent
06c7083eff
commit
640bfefe13
2 changed files with 27 additions and 10 deletions
|
|
@ -106,7 +106,9 @@ export const useCounterMixin = defineStore('mixin', () => {
|
|||
ok?: OkCallback,
|
||||
title?: string, // ถ้ามี cancel action ใส่เป็น null
|
||||
desc?: string, // ถ้ามี cancel action ใส่เป็น null
|
||||
cancel?: CancelCallback
|
||||
cancel?: CancelCallback,
|
||||
color?: string,
|
||||
okText?: string
|
||||
) {
|
||||
q.dialog({
|
||||
component: CustomComponent,
|
||||
|
|
@ -117,8 +119,8 @@ export const useCounterMixin = defineStore('mixin', () => {
|
|||
? desc
|
||||
: 'ต้องการยืนยันการบันทึกข้อมูลนี้ใช่หรือไม่?',
|
||||
icon: 'info',
|
||||
color: 'public',
|
||||
textOk: 'ตกลง',
|
||||
color: color ? color : 'public',
|
||||
textOk: okText ? okText : 'ตกลง',
|
||||
onlycancel: false,
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue