Commit db86b855 by 姜雷

修改反馈的区域修改

parent f899d130
{
"navigationBarTitleText": "反馈处理",
"usingComponents": {
"c-select": "../components/Select/Select",
"area-select": "../components/AreaSelect/AreaSelect",
"feedback-item": "../components/FeedbackItem/FeedbackItem"
}
}
......@@ -61,7 +61,7 @@ Page({
const { value } = e.detail;
this.setData!(
{
areaId: this.data.areaList[value].id,
areaId: value,
},
() => {
this.initData();
......
<!-- miniprogram/pages/feedback/feedback.wxml -->
<view class="container feedback">
<view class="feedback-area">
<c-select mode="selector" range="{{areaList}}" range-key="{{'areaName'}}" bindchange="bindPickerChange" placeholder="所属区域选择" />
<area-select range="{{areaList}}" range-key="{{'areaName'}}" bindchange="bindPickerChange" placeholder="所属区域选择" />
</view>
<view class="feedback-tabbar">
<view bind:tap="toggleList" data-tabIndex="{{1}}" class="feedback-tabItem {{tabIndex===1?'checked':''}}">
......
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