Bladeren bron

Merge branch 'fix_bug_5466'

jwyu 2 maanden geleden
bovenliggende
commit
ca010df1c0

+ 2 - 2
src/views/dataEntry_manage/components/sectionalCombination/sectionalCombinationOption.vue

@@ -12,7 +12,7 @@
             <i class="el-icon-info"></i>
           </span>
         </el-tooltip>
-        <el-radio-group v-model="sortType" style="margin-left: 20px" @change="handleGetChartData">
+        <el-radio-group v-model="sortType" style="margin-left: 20px" @change="handleGetChartData('sortType')">
           <el-radio :label="0">{{$t('EtaBasePage.default_select_text')}}</el-radio>
           <el-radio :label="1">{{$t('EtaChartAddPage.option_sort_up')}}</el-radio>
           <el-radio :label="2">{{$t('EtaChartAddPage.option_sort_low')}}</el-radio>
@@ -318,7 +318,7 @@ export default {
     // 获取图表数据
     handleGetChartData(type){
       const data=_.cloneDeep(this.$data)
-      if(type==='sortBasisEdb'){
+      if(['sortBasisEdb','sortType'].includes(type)){
         data.XDataList=[]
       }
       this.$emit('getData',data)