Commit 7d521468 by 前端

fixed

1 parent 4de0b55f
......@@ -42,7 +42,7 @@
<view class="ai-bottom">
<view class="ai-btn" data-staffId="{{item.staff.id}}" bind:tap="jumpDetail" wx:if="{{item.staff.sparringStatus != 0}}">质检详情</view>
<view class="ai-btn-c" data-status="{{item.staff.estimatedResult}}" data-staffId="{{item.staff.id}}" bind:tap="jumpResult" wx:if="{{item.staff.sparringStatus != 0}}">对练详情</view>
<view class="ai-btn-c" data-prompt="{{item.task.promptOnOff}}" data-type="{{item.task.aiType}}" data-staffId="{{item.staff.id}}" data-count="{{item.staff.tryCount}}" bind:tap="jumpExcercise" wx:if="{{item.staff.sparringStatus == 0 && item.staff.tryCount<5 && item.task.taskState!=2}}" >开始对练</view>
<view class="ai-btn-c" data-prompt="{{item.task.promptOnOff}}" data-type="{{item.task.aiType}}" data-staffId="{{item.staff.id}}" data-count="{{item.staff.tryCount}}" bind:tap="jumpExcercise" wx:if="{{item.staff.sparringStatus == 0 && item.staff.tryCount<3 && item.task.taskState!=2}}" >开始对练</view>
</view>
</view>
</block>
......
......@@ -148,6 +148,7 @@ Component({
},
sendMsg() {
this.triggerEvent('send',this.data.inputValue)
this.setData({inputValue:''})
},
input(e) {
let { value:inputValue } = e.detail
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!