From 3e9e66aef3b52adffee891d0e2a2d3cd41c61b50 Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Thu, 29 Sep 2022 11:21:36 +0800 Subject: [PATCH] zx --- pages/brandCrisis/crisiSet/index.js | 4 ++-- pages/brandCrisis/crisiSet/index.wxml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/brandCrisis/crisiSet/index.js b/pages/brandCrisis/crisiSet/index.js index e3800f9..e825198 100644 --- a/pages/brandCrisis/crisiSet/index.js +++ b/pages/brandCrisis/crisiSet/index.js @@ -9,7 +9,7 @@ Page({ }, onLoad() { wx.setNavigationBarTitle({ - title: '危机事件推送设置' + title: '危机消息推送设置' }) let pages = getCurrentPages(); let currentPage = pages[pages.length - 1] @@ -56,7 +56,7 @@ Page({ onChange1({ detail }) { - let Statu = detail ? 2 : 1; + let Statu = detail ? 0 : 1; //开启0 停止1 this.setData({ checked: detail }); diff --git a/pages/brandCrisis/crisiSet/index.wxml b/pages/brandCrisis/crisiSet/index.wxml index ea9eab8..cad9f25 100644 --- a/pages/brandCrisis/crisiSet/index.wxml +++ b/pages/brandCrisis/crisiSet/index.wxml @@ -17,7 +17,7 @@ - 是否配置主题推送消息 + 是否推送消息