youyawu hace 5 años
padre
commit
62cae5f938
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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">