fix: ลบ rulse
This commit is contained in:
parent
21ffca18bf
commit
d80934cf69
3 changed files with 1 additions and 8 deletions
|
|
@ -161,10 +161,7 @@ onMounted(() => {
|
||||||
class="col-xs-12 col-sm-12 inputgreen"
|
class="col-xs-12 col-sm-12 inputgreen"
|
||||||
outlined
|
outlined
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
|
||||||
hide-bottom-space
|
|
||||||
accept=".pdf"
|
accept=".pdf"
|
||||||
:rules="[(val: string) => !!val || 'กรุณาเลือกไฟล์เอกสารเพิ่มเติม']"
|
|
||||||
label="เอกสารเพิ่มเติม"
|
label="เอกสารเพิ่มเติม"
|
||||||
>
|
>
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
|
|
|
||||||
|
|
@ -470,10 +470,7 @@ onMounted(async () => {
|
||||||
class="col-xs-12 col-sm-12 inputgreen"
|
class="col-xs-12 col-sm-12 inputgreen"
|
||||||
outlined
|
outlined
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
|
||||||
hide-bottom-space
|
|
||||||
accept=".pdf"
|
accept=".pdf"
|
||||||
:rules="[(val: string) => !!val || 'กรุณาเลือกเอกสารเพิ่มเติม']"
|
|
||||||
label="เอกสารเพิ่มเติม"
|
label="เอกสารเพิ่มเติม"
|
||||||
>
|
>
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
|
|
|
||||||
|
|
@ -176,8 +176,7 @@ function saveForm() {
|
||||||
suggestFriendsReason.value == "")) ||
|
suggestFriendsReason.value == "")) ||
|
||||||
futureWork.value.length === 0 ||
|
futureWork.value.length === 0 ||
|
||||||
(futureWork.value === 1 &&
|
(futureWork.value === 1 &&
|
||||||
(futureWorkReason.value == null || futureWorkReason.value == "")) ||
|
(futureWorkReason.value == null || futureWorkReason.value == ""))
|
||||||
suggestion.value.length < 1
|
|
||||||
) {
|
) {
|
||||||
hasError = true;
|
hasError = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue