diff --git a/src/App.vue b/src/App.vue
index 308926dd70afd3f1bab70c04030fcc77174a070f..45a899b1521119661ad8d281c33dcd187589e3e8 100755
--- a/src/App.vue
+++ b/src/App.vue
@@ -246,7 +246,6 @@
-
@@ -46,9 +36,7 @@
isEnableNotification: true,
isEnableTouchNotice: true,
isEnableAtNotification: true,
- isDarkModelTemp: false,
- isSpectrumSwitch: false,
- isSpectrumSwitchType: 0
+ isDarkModelTemp: false
}
},
created() {
@@ -59,13 +47,11 @@
this.isEnableTouchNotice = localStorage.getItem('isEnableTouchNotice') != 1 ? true : false;
this.isEnableAtNotification = localStorage.getItem('isEnableAtNotification') != 1 ? true : false;
this.isDarkModelTemp = this.$parent.isDarkModel;
- this.isSpectrumSwitch = localStorage.getItem('isSpectrumSwitch') != 1 ? true : false;
- this.isSpectrumSwitchType = localStorage.getItem('isSpectrumSwitchType');
},
methods: {
/**
* @description: @通知切换事件
- * @param {null}
+ * @param {null}
* @return {null}
*/
isEnableAtNotificationChanged() {
@@ -74,7 +60,7 @@
},
/**
* @description: 声音切换事件
- * @param {null}
+ * @param {null}
* @return {null}
*/
isEnableNoticePlayerChanged() {
@@ -83,7 +69,7 @@
},
/**
* @description: 通知切换事件
- * @param {null}
+ * @param {null}
* @return {null}
*/
isEnableNotificationChanged() {
@@ -92,7 +78,7 @@
},
/**
* @description: 摸一摸通知切换事件
- * @param {null}
+ * @param {null}
* @return {null}
*/
isEnableTouchNoticeChanged() {
@@ -101,29 +87,11 @@
},
/**
* @description: 暗黑模式切换事件
- * @param {null}
+ * @param {null}
* @return {null}
*/
isDarkModelChanged() {
this.$parent.updateDarkModel(this.isDarkModelTemp);
- },
- /**
- * @description: 频谱开关切换事件
- * @param {null}
- * @return {null}
- */
- isSpectrumSwitchChanged() {
- localStorage.setItem('isSpectrumSwitch', this.isSpectrumSwitch ? 0 : 1);
- this.$parent.updateSpectrumSwitch(this.isSpectrumSwitch);
- },
- /**
- * @description: 频谱类型切换事件
- * @param {null}
- * @return {null}
- */
- isSpectrumSwitchTypeChanged(){
- localStorage.setItem('isSpectrumSwitchType', this.isSpectrumSwitchType);
- this.$parent.updateSpectrumSwitchType(this.isSpectrumSwitchType);
}
},
}
@@ -142,10 +110,6 @@
overflow-y: auto;
}
- .bbbug_my_setting__form_spectrum_switch .el-radio-button__inner{
- padding: 5px 10px;
- }
-
.el-select {
display: block;
}
@@ -171,4 +135,4 @@
.bbbug_my_setting__clear_button:active {
background-color: red;
}
-
+
\ No newline at end of file