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;