fix: notifyWarring
This commit is contained in:
parent
ca53971246
commit
c87678bfae
1 changed files with 2 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ async function checkSave() {
|
|||
myForm.value.validate().then(async (success) => {
|
||||
if (success) {
|
||||
if (edit.value) {
|
||||
if (rowsPosition.value.length == 0) {
|
||||
if (rowsPosition.value.length == 0 && announcementExam.value) {
|
||||
notifyWarring($q, "กรุณาเพิ่มตำแหน่ง");
|
||||
} else {
|
||||
await editData(id.value);
|
||||
|
|
@ -1212,6 +1212,7 @@ onMounted(async () => {
|
|||
</template>
|
||||
</datepicker>
|
||||
</div>
|
||||
|
||||
<div class="col-12" v-if="announcementExam">
|
||||
<div class="col-12 q-mb-sm">
|
||||
<q-separator size="5px" color="grey-2" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue