Commit 3f760bf0 authored by 罗林杰's avatar 罗林杰

修改bug

parent c1e957bd
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
发送 发送
</view> </view>
<ELM ref="elm" :msg="tipMsg" :isConfirm="isConfirm" @confirm="confirm"></ELM> <ELM ref="elm" :msg="tipMsg" :isConfirm="isConfirm" @confirm="confirm"></ELM>
<ELM ref="elm" :msg="tipMsg" :isConfirm="isMessageConfirm" @confirm="messageConfirm"></ELM> <ELM ref="elmMessage" :msg="tipMsg" :isConfirm="isMessageConfirm" @confirm="messageConfirm"></ELM>
</view> </view>
</template> </template>
<script> <script>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
}, },
//获取留言字典配置 //获取留言字典配置
getLeaveMessageDict(){ getLeaveMessageDict(){
getDict('leave_message_config').then(res=> { getDict('user_leave_message_config').then(res=> {
this.leaveMessageOptions = res.data.data this.leaveMessageOptions = res.data.data
//过滤出dictLabel等于pay_count的dictValue //过滤出dictLabel等于pay_count的dictValue
this.payCount = this.leaveMessageOptions.find(item => item.dictLabel === 'pay_count').dictValue; this.payCount = this.leaveMessageOptions.find(item => item.dictLabel === 'pay_count').dictValue;
......
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
</view> </view>
<ELM ref="elm" :msg="tipMsg" :isConfirm="isConfirm" @confirm="confirm"></ELM> <ELM ref="elm" :msg="tipMsg" :isConfirm="isConfirm" @confirm="confirm"></ELM>
<ELM ref="elm" :msg="tipMsg" :isConfirm="isCoinConfirm" @confirm="coinConfirm"></ELM> <ELM ref="elmCoin" :msg="tipMsg" :isConfirm="isCoinConfirm" @confirm="coinConfirm"></ELM>
</view> </view>
</template> </template>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
</u-popup> </u-popup>
<ELM ref="elm" :msg="tipMsg" :isConfirm="isConfirm" @confirm="confirm"></ELM> <ELM ref="elm" :msg="tipMsg" :isConfirm="isConfirm" @confirm="confirm"></ELM>
<ELM ref="elm" :msg="tipMsg" :isConfirm="isMessageConfirm" @confirm="messageConfirm"></ELM> <ELM ref="elmMessage" :msg="tipMsg" :isConfirm="isMessageConfirm" @confirm="messageConfirm"></ELM>
</view> </view>
</template> </template>
...@@ -194,7 +194,7 @@ export default { ...@@ -194,7 +194,7 @@ export default {
}, },
//获取留言字典配置 //获取留言字典配置
getLeaveMessageDict(){ getLeaveMessageDict(){
getDict('leave_message_config').then(res=> { getDict('user_leave_message_config').then(res=> {
this.leaveMessageOptions = res.data.data this.leaveMessageOptions = res.data.data
//过滤出dictLabel等于pay_count的dictValue //过滤出dictLabel等于pay_count的dictValue
this.payCount = this.leaveMessageOptions.find(item => item.dictLabel === 'pay_count').dictValue; this.payCount = this.leaveMessageOptions.find(item => item.dictLabel === 'pay_count').dictValue;
......
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