fix: dataStore.typeLeave

This commit is contained in:
setthawutttty 2025-08-19 16:47:20 +07:00
parent 01dc0ad348
commit 7101a189e9
4 changed files with 5 additions and 1 deletions

View file

@ -320,6 +320,8 @@ async function fectOptionType() {
* เรยกใชงาน fetchData เพอดงขอม
*/
onMounted(async () => {
dataStore.typeLeave = "";
if (dataStore.options.length == 0) {
fectOptionType();
}