Commit 8779b3df by 张立顺

fix bug

1 parent 59b5fe5d
...@@ -327,7 +327,7 @@ Component({ ...@@ -327,7 +327,7 @@ Component({
}) })
}, },
// 大区合作模式 // 大区合作模式
changeCooperationModeByList() { changeCooperationModeByListOverView() {
let { cooperationModeByList, regionCooperationMode } = this.data let { cooperationModeByList, regionCooperationMode } = this.data
this.setData({ this.setData({
showSelectPopup: true, showSelectPopup: true,
...@@ -398,8 +398,10 @@ Component({ ...@@ -398,8 +398,10 @@ Component({
}, },
// 总览合作模式 // 总览合作模式
cooperationMode(values, items, selectType) { cooperationMode(values, items, selectType) {
let { cooperationMode } = this.data let { cooperationMode } = this.data
cooperationMode = values[0] cooperationMode = values[0]
console.log(cooperationMode, 'cooperationMode');
this.setData({ this.setData({
[selectType]: cooperationMode, [selectType]: cooperationMode,
[selectType + 'label']: items[0].name [selectType + 'label']: items[0].name
......
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
</view> </view>
<glsx-image class="icon" src="{{ '/index/arrow.png' }}" webp></glsx-image> <glsx-image class="icon" src="{{ '/index/arrow.png' }}" webp></glsx-image>
</view> </view>
<view class="mode box" bind:tap="changeCooperationModeByList"> <view class="mode box" bind:tap="changeCooperationModeByListOverView">
<view class="text"> <view class="text">
合作模式 / 合作模式 /
<text class="bold">{{regionCooperationModelabel}}</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!