Commit 7b156af37d36618a1f45696c6984b19c4a5e4588

Authored by xp.Huang
2 parents e240a763 10406262

Merge branch 'ww' into 'main'

fix: 新增core-js,修复低版本浏览器不支持的语法(物模型面板报错)

See merge request yunteng/thingskit-front!485
... ... @@ -44,6 +44,7 @@
44 44 "ant-design-vue": "2.2.6",
45 45 "axios": "^0.21.1",
46 46 "codemirror": "^5.62.2",
  47 + "core-js": "^3.28.0",
47 48 "cron-parser": "3.5.0",
48 49 "cropperjs": "^1.5.12",
49 50 "crypto-js": "^4.1.1",
... ...
... ... @@ -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
... ...