diff --git a/package.json b/package.json index 8779c119ff..f5475749e2 100644 --- a/package.json +++ b/package.json @@ -60,14 +60,14 @@ "@dgiot/dgiot-icons": "0.0.19", "@dgiot/dgiot-monaco": "^0.2.2", "@material/icon-button": "13.0.0", - "amis": "^1.9.0", - "amis-editor": "^4.1.0-beta.20", + "amis": "^1.10.2", + "amis-editor": "^4.1.0-beta.28", "driver.js": "^0.9.8", "register-service-worker": "1.7.2", "resize-detector": "0.3.0", "vditor": "^3.8.15", "vue": "^2.5.17", - "vue-amis-sdk": "1.9.0-beta-30", + "vue-amis-sdk": "1.10.2", "vue-audio-visual": "^2.4.0", "vue-contextmenu": "1.5.11", "vue-infinite-scroll": "^2.0.2", diff --git a/src/main.js b/src/main.js index 2b3ec0cc94..ffb4b6f2b5 100644 --- a/src/main.js +++ b/src/main.js @@ -10,7 +10,12 @@ import dgiotStore from '@dgiot/dgiot-mqtt-dashboard/src/store' import VueAmisSdk from 'vue-amis-sdk/packages/index' import { VuePlugin } from 'vuera' import '@/dgiot' - +import 'amis/lib/themes/cxd.css' +import 'amis/lib/themes/ang.css' +import 'amis/lib/helper.css' +import 'amis/sdk/sdk.css' +import 'amis-editor/dist/style.css' +// import 'amis-core/lib/index.js' Vue.use(VueAmisSdk) Vue.use(VuePlugin) window.dgiotlogger =