diff --git a/src/views/agent/paySetting.vue b/src/views/agent/paySetting.vue index 5e66e26..28728ea 100644 --- a/src/views/agent/paySetting.vue +++ b/src/views/agent/paySetting.vue @@ -32,7 +32,7 @@ - +

{{ payinfo.account }}

@@ -132,7 +132,7 @@ export default { updatePayStatus(row) { this.$http('POST', '/agentnew/ajax_update_pay_status', { payid: this.$route.query.payid, - status: row.status==1 ? 0 : 1, + status: row.status, }, { headers: { 'Auth': this.token diff --git a/src/views/agent/siteMobileSetting.vue b/src/views/agent/siteMobileSetting.vue index 61beddc..b9553e1 100644 --- a/src/views/agent/siteMobileSetting.vue +++ b/src/views/agent/siteMobileSetting.vue @@ -39,7 +39,7 @@
H5开关 - +
@@ -406,7 +406,7 @@ export default { updateSiteH5Status() { this.$http('POST', '/agentnew/ajax_update_site_h5_config', { uid: this.$route.query.uid, - status: this.siteInfo.is_open_h5==1 ? 0 : 1 + status: this.siteInfo.is_open_h5 }, { headers: { 'Auth': this.token