优化图纸编辑功能和地址联动逻辑
This commit is contained in:
@ -55,7 +55,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { nextTick, ref } from 'vue'
|
import { nextTick, ref, watchEffect } from 'vue'
|
||||||
import type { TcreateReq } from '~/api/upnew/types'
|
import type { TcreateReq } from '~/api/upnew/types'
|
||||||
import { tree } from '~/api/common/index'
|
import { tree } from '~/api/common/index'
|
||||||
import { DrawsEnmu } from '../util'
|
import { DrawsEnmu } from '../util'
|
||||||
@ -123,6 +123,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
watchEffect(() => {
|
||||||
|
if (form.value.isDomestic === 0) {
|
||||||
|
getAdress('province', form.value.isDomestic)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
handleTypeChange,
|
handleTypeChange,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user