优化图纸编辑功能和地址联动逻辑

This commit is contained in:
wangqiao
2025-09-14 09:58:12 +08:00
parent 9d4dda04c9
commit cef6c8c341

View File

@ -55,7 +55,7 @@
</template>
<script setup lang="ts">
import { nextTick, ref } from 'vue'
import { nextTick, ref, watchEffect } from 'vue'
import type { TcreateReq } from '~/api/upnew/types'
import { tree } from '~/api/common/index'
import { DrawsEnmu } from '../util'
@ -123,6 +123,12 @@
}
}
watchEffect(() => {
if (form.value.isDomestic === 0) {
getAdress('province', form.value.isDomestic)
}
})
defineExpose({
handleTypeChange,
})