Commit b9f53a47 authored by youjie's avatar youjie

no message

parent 90471862
...@@ -174,12 +174,14 @@ export default defineComponent({ ...@@ -174,12 +174,14 @@ export default defineComponent({
changearea(e: number, option: any, pathValues: Array<any>) { changearea(e: number, option: any, pathValues: Array<any>) {
search.Province = 0 search.Province = 0
search.City = 0 search.City = 0
if(pathValues){
if (pathValues.length > 0) { if (pathValues.length > 0) {
search.Province = pathValues[0].ID search.Province = pathValues[0].ID
} }
if (pathValues.length > 1) { if (pathValues.length > 1) {
search.City = pathValues[1].ID search.City = pathValues[1].ID
} }
}
}, },
changeHotel() { changeHotel() {
setTimeout(() => { setTimeout(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment