Browse Source

fix: 删除无用函数

master
guoapeng 2 weeks ago
parent
commit
471f723038
  1. 18
      src/app.vue

18
src/app.vue

@ -114,15 +114,15 @@ const initData = async () => {
* @function 初始化设备信息
* @desc 从服务端获取设备信息并更新到状态存储
*/
const initDeviceInfo = async () => {
const deviceParams = {
className: 'DeviceInfoMgrService',
fnName: 'getDeviceInfo',
}
const res = await sendCmd(deviceParams)
deviceStore.updateDeviceInfo(res)
return res
}
// const initDeviceInfo = async () => {
// const deviceParams = {
// className: 'DeviceInfoMgrService',
// fnName: 'getDeviceInfo',
// }
// const res = await sendCmd(deviceParams)
// deviceStore.updateDeviceInfo(res)
// return res
// }
/**
* @function 初始化

Loading…
Cancel
Save