Commit c5b94f78 by Chao Sun

弹框

parent 4df11457
......@@ -10,7 +10,7 @@ export default {
const model = { // 把后端返回过来的数据里面的键给替换成我想要的键
source: x,
text: x.provinceName ? x.provinceName : x.cityName,
value: x.provinceId ? x.provinceId : x.cityId,
value: x.cityId ? x.cityId : x.provinceId,
};
const children = this.action(x.citys); // 子级数据
if(children){ // 一直往下循环查找有没有children这个键,如果有就直接添加一个子级字段名,这个字段名就是存子级数据
......
......@@ -254,10 +254,12 @@
<!--底部技术支持组件-->
<foot></foot>
</view>
<!--旧房贷款余额组件-->
<loanBalance @closeLoan="closeChildLoan" :getChildLoanInfo="getChildLoanInfo" v-show="isLoanSelected"></loanBalance>
<!--规划参数组件-->
<planningParameters></planningParameters>
<view class="mask">
<!--旧房贷款余额组件-->
<loanBalance @closeLoan="closeChildLoan" :getChildLoanInfo="getChildLoanInfo" v-show="isLoanSelected"></loanBalance>
<!--规划参数组件-->
<planningParameters></planningParameters>
</view>
</template>
<script>
......
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