defult ย้าย group
This commit is contained in:
parent
afaec35105
commit
ebe8227fbe
1 changed files with 11 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, defineModel } from "vue";
|
||||
import { ref, defineModel, watch } from "vue";
|
||||
import { useQuasar } from "quasar";
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
|
|
@ -70,6 +70,16 @@ function onSubmit() {
|
|||
});
|
||||
}
|
||||
|
||||
watch(
|
||||
() => modal.value,
|
||||
() => {
|
||||
if (modal.value) {
|
||||
group.value =
|
||||
props.group === "กลุ่ม1" ? store.groupOp[1].id : store.groupOp[0].id;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
function inputEdit(val: boolean) {
|
||||
return {
|
||||
"full-width cursor-pointer inputgreen ": val,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue