fix Call API province

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-25 16:35:57 +07:00
parent 2573e7e36d
commit 7e462f6e3e
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ const formData = reactive<FormData>({
/** ดึงข้อมูล จังหวัด */
function getProvince() {
http
.get(config.API.province)
.get(config.API.orgProvince)
.then((res) => {
const data = res.data.result;

View file

@ -128,7 +128,7 @@ const expanded2 = ref<Array<string | null>>([]);
*/
function fetchProvince() {
http
.get(config.API.province)
.get(config.API.orgProvince)
.then((res) => {
const data = res.data.result;
provinceOp.value = data.map((item: DataOption) => ({