Browse Source

:modelValue => v-model

pull/97/head
rainbro 1 month ago
parent
commit
3e141691ae
  1. 6
      src/views/agent/payCertSetting.vue

6
src/views/agent/payCertSetting.vue

@ -52,7 +52,7 @@
<div class="left-pay-item ">
<div class="flex-between">
<span>功能开关</span>
<GuipSwitch :modelValue="payinfo.is_auto_refund" :active-value="1" :inactive-value="0" activeText="开启" inactiveText="关闭" @change="updatePayAutoRefund(payinfo)"></GuipSwitch>
<GuipSwitch v-model="payinfo.is_auto_refund" :active-value="1" :inactive-value="0" activeText="开启" inactiveText="关闭" @change="updatePayAutoRefund(payinfo)"></GuipSwitch>
</div>
<p>开启后遇到退单的情况平台尽量在联系您并同意的情况下操作退款</p>
</div>
@ -94,7 +94,7 @@
<div class="baidu-wrap bidWrap">
<div class="bidwrap-item">
<h3 class="flex">分账开关<GuipSwitch :modelValue="payinfo.profit_share_status"
<h3 class="flex">分账开关<GuipSwitch v-model="payinfo.profit_share_status"
:active-value="1" :inactive-value="0"
@change="updateProfitShareStatus(payinfo)"></GuipSwitch>
</h3>
@ -387,7 +387,7 @@ export default {
updatePayAutoRefund(row) {
this.$http('POST', '/agentnew/ajax_setting_auto_refund', {
payid: this.$route.query.payid,
status: row.is_auto_refund == 1 ? 0 : 1,
status: row.is_auto_refund,
}, {
headers: {
'Auth': this.token

Loading…
Cancel
Save