Pārlūkot izejas kodu

feat: EK-2936: 【AE】会员端Promo和banner图增加分国家设置

tyler 3 mēneši atpakaļ
vecāks
revīzija
4b66497adb
2 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. 1 2
      src/views/article/edit.vue
  2. 1 1
      src/views/article/index.vue

+ 1 - 2
src/views/article/edit.vue

@@ -11,7 +11,7 @@
           </el-select>
         </el-form-item>
         <el-form-item :label="$t('transportationConfig.countryName')">
-          <el-select v-model="form.country" filterable ref="countryId" @change="countryChange" @blur="countryVisibleChange($event)" placeholder="Select Country">
+          <el-select v-model="form.countryId" filterable ref="countryId" @change="countryChange" @blur="countryVisibleChange($event)" placeholder="Select Country">
             <el-option v-for="(item,index) in allCountry" :key="index" :label="item.NAME" :value="item.ID"></el-option>
           </el-select>
         </el-form-item>
@@ -61,7 +61,6 @@ export default {
         content: '',
         sort: 1,
         countryId: '',
-        country: []
       },
       content: '',
       allCategory: null,

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

@@ -13,7 +13,7 @@
         <el-table-column :label="$t('article.title')" prop="TITLE">
           <template slot-scope="scope">
             <router-link :to="`/article/detail/${scope.row.ID}`" target="_blank" class="islide">
-              <span>{{ scope.row.TITLE }}</span>
+              <span>{{ scope.row.TITLE.value }}</span>
             </router-link>
           </template>
         </el-table-column><!--标题-->