openatc-components 0.2.65 → 0.2.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.2.65",
3
+ "version": "0.2.66",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
package/src/api/cross.js CHANGED
@@ -22,6 +22,10 @@ export const getDuration = (data) => {
22
22
  }
23
23
 
24
24
  export const getChannelizatonChart = (agentid) => {
25
+ if (!agentid || agentid === '0') {
26
+ console.log('getChannelizatonChart agentid:', agentid)
27
+ return false
28
+ }
25
29
  let api = new Authapi('getChannelizatonChart')
26
30
  return api.Send({}, {}, [agentid])
27
31
  }