Commit 7b156af37d36618a1f45696c6984b19c4a5e4588
Merge branch 'ww' into 'main'
fix: 新增core-js,修复低版本浏览器不支持的语法(物模型面板报错) See merge request yunteng/thingskit-front!485
Showing
3 changed files
with
3 additions
and
1 deletions
... | ... | @@ -16,6 +16,7 @@ import { registerGlobComp } from '/@/components/registerGlobComp'; |
16 | 16 | import '/@/assets/iconfont/iconfont'; |
17 | 17 | import { usePlatform } from './views/system/customize/hook/usePlatformInfo'; |
18 | 18 | import { useWebSecurityPolicy } from './hooks/web/useWebSecurityPolicy'; |
19 | +import 'core-js/es/array/at'; | |
19 | 20 | |
20 | 21 | if (import.meta.env.DEV) { |
21 | 22 | import('ant-design-vue/dist/antd.less'); | ... | ... |
... | ... | @@ -25,7 +25,7 @@ |
25 | 25 | > |
26 | 26 | <TabPane :key="FunctionType.PROPERTIES" tab="属性" /> |
27 | 27 | <TabPane :key="FunctionType.SERVICE" :disabled="isTCPGatewaySubDevice" tab="服务" /> |
28 | - <!-- <TabPane :key="FunctionType.EVENTS" tab="事件" :disabled=" isTCPGatewaySubDevice" /> --> | |
28 | + <TabPane :key="FunctionType.EVENTS" tab="事件" :disabled="isTCPGatewaySubDevice" /> | |
29 | 29 | </Tabs> |
30 | 30 | <Attribute v-if="activeKey === FunctionType.PROPERTIES" ref="AttrRef" /> |
31 | 31 | <Service | ... | ... |