From ab5ba1cb04581f55b82e6474452adeb239b9ba44 Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期三, 22 十一月 2023 16:27:08 +0800
Subject: [PATCH] 1.修改了请求网址的路径 2.修改了路由

---
 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