| | |
| | | import { updateCraftParams } from '@/api' |
| | | import { Loading } from '@element-plus/icons-vue' |
| | | import { isNumber } from 'lodash-es' |
| | | import { getToken } from '@/common/utils/index' |
| | | const token = getToken() |
| | | |
| | | defineOptions({ |
| | | name: 'DashboardView' |
| | |
| | | * @param task |
| | | */ |
| | | function reloadChannel(task: Task) { |
| | | tasksStore.reloadChannel(task.Channel).then(() => { |
| | | // plcStore.startPollingPLC() |
| | | }) |
| | | // if (token !== null || token !== '' || token !== 'undefined') { |
| | | // tasksStore.reloadChannel(task.Channel).then(() => { |
| | | // // plcStore.startPollingPLC() |
| | | // }) |
| | | // } |
| | | } |
| | | |
| | | function reloadAllData() { |