From d404f7f0ffb8b7b8b930a2b583afe2037cffc3f8 Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期五, 01 十二月 2023 13:58:03 +0800
Subject: [PATCH] 修改LineChart.vue位置

---
 src/sfc/ScenarioType.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/sfc/ScenarioType.vue b/src/sfc/ScenarioType.vue
index c5de549..285a2bc 100644
--- a/src/sfc/ScenarioType.vue
+++ b/src/sfc/ScenarioType.vue
@@ -8,6 +8,7 @@
     <ScenarioType @submitScenarioType="(val) => (scenarioType = val)"> </ScenarioType>
 -->
 <script>
+import siteInfo from '@/api/site/siteInfo.js'
 export default {
   emits:['submitScenarioType'],
   data() {
@@ -21,9 +22,8 @@
   methods: {
     //鑾峰彇涓嶅悓鐨勫紓甯哥被鍨�
     getScenarioTypeName() {
-      this.$http.get('/dust/scenario').then(result => {
+      siteInfo.queryScenarioTypeName().then(result => {
         this.scenarioType = result.data.data
-      
       });
     }
     //鏍规嵁寮傚父涓暟娓叉煋checkbox
@@ -64,6 +64,8 @@
     margin-left: 5px;
     font-weight: bolder;
     white-space: nowrap;
+    color: #333333;
+
 }
 .exception-type {
   white-space: nowrap;

--
Gitblit v1.9.3