|
@@ -110,13 +110,14 @@
|
|
|
<view class="switch-container" style="margin-top: 20rpx">
|
|
|
<text class="input-label">告警联动(服务号推送):</text>
|
|
|
<switch
|
|
|
- :value="linkagePushWechatService"
|
|
|
+ :checked="linkagePushWechatService == 1"
|
|
|
@change="onChangeLian"
|
|
|
:active-value="1"
|
|
|
:inactive-value="0"
|
|
|
size="24px"
|
|
|
active-color="#07c160"
|
|
|
inactive-color="#eeeff1"
|
|
|
+ style="transform: scale(0.8)"
|
|
|
/>
|
|
|
</view>
|
|
|
|
|
@@ -124,13 +125,14 @@
|
|
|
<view class="switch-container">
|
|
|
<text class="input-label">是否启用:</text>
|
|
|
<switch
|
|
|
- :value="enable"
|
|
|
+ :checked="enable == 1"
|
|
|
@change="onChangeQi"
|
|
|
:active-value="1"
|
|
|
:inactive-value="0"
|
|
|
size="24px"
|
|
|
active-color="#07c160"
|
|
|
inactive-color="#eeeff1"
|
|
|
+ style="transform: scale(0.8)"
|
|
|
/>
|
|
|
</view>
|
|
|
|