fix bug
This commit is contained in:
parent
ec04bc2e1e
commit
3ffe9b367e
5 changed files with 10 additions and 23 deletions
|
|
@ -87,8 +87,6 @@ const onCancel = async () => {
|
|||
`ข้อมูลมีการแก้ไข`,
|
||||
`ยืนยันยกเลิกการแก้ไขใช่หรือไม่?`
|
||||
);
|
||||
|
||||
|
||||
} else {
|
||||
edit.value = false;
|
||||
}
|
||||
|
|
@ -252,7 +250,6 @@ const getClass = (val: boolean) => {
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
function checkEdit() {
|
||||
onEdit.value = true;
|
||||
}
|
||||
|
|
@ -470,7 +467,6 @@ function checkEdit() {
|
|||
:class="getClass(edit)"
|
||||
:readonly="!edit"
|
||||
:borderless="!edit"
|
||||
:rules="[(val:string) => !!val || `${'กรุณาเลือก หมู่เลือด'}`]"
|
||||
:outlined="edit"
|
||||
dense
|
||||
lazy-rules
|
||||
|
|
@ -556,10 +552,6 @@ function checkEdit() {
|
|||
:readonly="!edit"
|
||||
:borderless="!edit"
|
||||
v-model="informaData.telephone"
|
||||
:rules="[
|
||||
(val:string) => !!val || `${'กรุณากรอก เบอร์โทร'}`,
|
||||
(val:string) => val.length >= 10 || `${'กรุณากรอกข้อมูลเบอร์โทรให้ครบ'}`,
|
||||
]"
|
||||
:label="`${'เบอร์โทร'}`"
|
||||
mask="##########"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue