Skip to content

Commit

Permalink
fix: 告警规则生成修改
Browse files Browse the repository at this point in the history
  • Loading branch information
dawnwinterLiu committed Jul 15, 2022
1 parent 7488faa commit cae0d9c
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 639 deletions.
8 changes: 4 additions & 4 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
engine-strict = true
shamefully-hoist = false
hoist = true
registry = https://registry.npmjs.org/
engine-strict = true
shamefully-hoist = false
hoist = true
registry = https://registry.npmjs.org/
7 changes: 7 additions & 0 deletions src/dgiot/components/DgiotAmis/render.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@
localStorage.getItem('parse_objectid')
)
: ''
// 添加parse_notificationid
localStorage.getItem('parse_notificationid')
? url.replaceAll(
'parse_notificationid',
localStorage.getItem('parse_notificationid')
)
: ''
if (headers?.dgiotReplace?.length) {
const dgiotReplace = headers['dgiotReplace'].split(',') // 将dgiotReplace参数string格式转化为对象格式
const { store = 'localStorage' } = headers // token 存储方式 默认存储在localStorage中
Expand Down
Loading

1 comment on commit cae0d9c

@vercel
Copy link

@vercel vercel bot commented on cae0d9c Jul 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dgiot-dashboard – ./

dgiot-dashboard-git-master-dgiot.vercel.app
dgiot-dashboard-dgiot.vercel.app
dgiot-dashboard.vercel.app

Please sign in to comment.