Replies: 1 comment 7 replies
-
你用的啥UI库?要找出哪个样式影响了你的样式才行。按理不应该啊,大部分都是加了vc-开头的 |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
通过 import 'vue-cesium/dist/index.css'; 这种方式引入会造成全局污染,其他UI组件的样式错乱.
通过 <style lang="css" src="vue-cesium/dist/index.css" scoped></style> 这种方式引入没有效果.
另外我单独创建了一个vue项目单独引入vue-cesium,vc-drawings也是在地图外边.
通过,width:100vw,height:100vh让地图全屏,vc-drawings倒是在地图里.
Beta Was this translation helpful? Give feedback.
All reactions