youyawu 5 năm trước cách đây
mục cha
commit
62cae5f938
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/shops/details/products.vue

+ 1 - 1
src/views/shops/details/products.vue

@@ -6,7 +6,7 @@
     <div class="container">
       <el-row :gutter="20">
         <el-col :span="4">
-          <category showHeader @change="typeId => (params.typeId = typeId)" />
+          <category showHeader @change="({ id }) => (params.typeId = id)" />
         </el-col>
         <el-col :span="20">
           <div class="items">