jwyu 1 year ago
parent
commit
1ca46cf62d
3 changed files with 5 additions and 1 deletions
  1. 3 0
      src/App.vue
  2. 1 0
      src/views/chartShow/index.less
  3. 1 1
      src/views/chartShow/index.vue

+ 3 - 0
src/App.vue

@@ -6,6 +6,9 @@
 </template>
 
 <style lang="less">
+div{
+  box-sizing: border-box;
+}
 #app{
   height: 100%;
 }

+ 1 - 0
src/views/chartShow/index.less

@@ -51,6 +51,7 @@
 		.chart-wrapper {
 			flex: 1;
 			position: relative;
+			overflow: hidden;
 			.mark {
 				position:absolute;
 				left: 50%;

+ 1 - 1
src/views/chartShow/index.vue

@@ -137,7 +137,7 @@ export default defineComponent({
 
     /* 获取图表数据信息 */
     const loading = ref(false);
-    const haveData = ref(true);
+    const haveData = ref(false);
     const code = ref(route.query.code);
     const isShare = ref(route.query.fromType === 'share');
     // 语言 中英文 ch en  默认中文