Article From:https://segmentfault.com/q/1010000011700450
Question:

I’m now choosing Huangpu District, Shanghai Municipal District, when I log.

Out is not words but

What I need is log (which returns to background data) is the user selected area text.
Control of vux used by XAddress
According to documentation

There is no mention of how to convert it.
I hope someone can help you, thank you.

Answer 0:

x-addressLet Id be test.

console.log(document.getElementById(“test”).innerText);

The rest is string processing.

Answer 1:

Please tell me how your XAddress is configured, and my city selection box will not come out.

Answer 2:

this.$refs.address.nameValue
address It is the ref value of your xaddress component. When the value of V-model changes, the call is directly fetch.

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *