SCADA前端增加数据类别录入

This commit is contained in:
wu
2022-08-20 14:48:50 +08:00
parent 42ce278c36
commit 6cdeaf1c31
2 changed files with 36 additions and 18 deletions

View File

@@ -567,7 +567,6 @@ export default {
},
async getDeviceStatus () {
console.log(process.env.VUE_APP_VUE_APP_HSLSERVER_PASSWORD)
const res = await this.$api.GET_SERVER_DEVICE_STATUS('http://' + this.serverData.url + ':' + this.serverData.port, 'admin', process.env.VUE_APP_HSLSERVER_PASSWORD)
if (res) {
this.$emit('changeStatus', 'online')