Commit 8779b3df by 张立顺

fix bug

1 parent 59b5fe5d
......@@ -327,7 +327,7 @@ Component({
})
},
// 大区合作模式
changeCooperationModeByList() {
changeCooperationModeByListOverView() {
let { cooperationModeByList, regionCooperationMode } = this.data
this.setData({
showSelectPopup: true,
......@@ -398,8 +398,10 @@ Component({
},
// 总览合作模式
cooperationMode(values, items, selectType) {
let { cooperationMode } = this.data
cooperationMode = values[0]
console.log(cooperationMode, 'cooperationMode');
this.setData({
[selectType]: cooperationMode,
[selectType + 'label']: items[0].name
......
......@@ -148,7 +148,7 @@
</view>
<glsx-image class="icon" src="{{ '/index/arrow.png' }}" webp></glsx-image>
</view>
<view class="mode box" bind:tap="changeCooperationModeByList">
<view class="mode box" bind:tap="changeCooperationModeByListOverView">
<view class="text">
合作模式 /
<text class="bold">{{regionCooperationModelabel}}</text>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!