Explorar o código

Merge branch 'dev' of http://git.echepei.com/tubao/Smart_platform_ui into dev

cyang233 %!s(int64=2) %!d(string=hai) anos
pai
achega
f940079198

+ 7 - 3
src/views/tirePartsMall/basicData/listingManagement/index.vue

@@ -25,9 +25,13 @@
               <!--          <el-button icon="el-icon-view" :size="size" :type="type" @click="check(row)">-->
               <!--            {{ row.upperFrame == 0 ? '上架' : '下架' }}-->
               <!--          </el-button>-->
-              <el-tooltip :content="`${row.upAndDownShelves == 0 ? '上架' : '下架'}`" placement="top">
-                <el-switch style="margin-left: 10px" v-model="row.upAndDownShelves" @change="check(row)" active-value="1"
-                  inactive-value="0">
+              <el-tooltip :content="`${row.upAndDownShelves == 0?'上架':'下架'}`" placement="top">
+                <el-switch
+                    style="margin-left: 10px"
+                    v-model="row.upAndDownShelves"
+                    @change="check(row)"
+                    :active-value="1"
+                    :inactive-value="0">
                 </el-switch>
               </el-tooltip>
             </template>