Commit 49b7bbdf authored by 刘用法's avatar 刘用法

经纬度都为0不显示距离

parent d970e41b
......@@ -195,8 +195,8 @@
showReason() {
return this.orderType == 5
},
showDistance() {
return this.orderType == 0 && this.location.length >= 2 && (this.location[0] || this.location[1])
showDistance() {
return this.orderType == 0 && this.location.length >= 2 && (this.orderData.contactAddressLatitud || this.orderData.contactAddressLongitud)
},
types() {
return {
......
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