6075设备控制页
This commit is contained in:
@ -297,11 +297,8 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
lastBrightnessTime: 0,
|
||||
isCardSliding: false,
|
||||
cardRect: null,
|
||||
touchStartX: 0,
|
||||
touchStartY: 0,
|
||||
pageLoading: true,
|
||||
navBarHeight: 70 + uni.getSystemInfoSync().statusBarHeight,
|
||||
navTitle: "",
|
||||
@ -338,7 +335,6 @@
|
||||
isLaserOn: false,
|
||||
isSending: false,
|
||||
isProcessing: false,
|
||||
isLoading: false, // 主加载状态
|
||||
isPolling: false // 轮询状态
|
||||
}
|
||||
},
|
||||
@ -557,7 +553,6 @@
|
||||
};
|
||||
lightModeSettings(data).then((res) => {
|
||||
if (res.code == 200) {
|
||||
// 只有确认成功才更新实际模式,选中模式
|
||||
this.currentMainMode = this.pendingMainMode;
|
||||
this.selectedItemIndex = selectedItem;
|
||||
uni.showToast({
|
||||
@ -566,15 +561,11 @@
|
||||
})
|
||||
uni.hideLoading();
|
||||
this.lightModeA = false;
|
||||
//this.isProcessing = false
|
||||
//loadingShown = false
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'none'
|
||||
})
|
||||
//this.isProcessing = false
|
||||
//loadingShown = false
|
||||
uni.hideLoading();
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user