1.0.6
This commit is contained in:
@@ -94,13 +94,11 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
// 断开称重设备
|
||||
// 断开称重设备(仅更新连接状态,保留配置)
|
||||
async disconnectScale({ commit, dispatch }) {
|
||||
try {
|
||||
commit('SET_SCALE_CONFIG', {
|
||||
connected: false,
|
||||
deviceId: '',
|
||||
deviceName: ''
|
||||
connected: false
|
||||
})
|
||||
await dispatch('saveScaleConfig')
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user