reloaded 5 роки тому
батько
коміт
ea147368b0
1 змінених файлів з 7 додано та 3 видалено
  1. 7 3
      src/layout/supermarket/jiaoyi.vue

+ 7 - 3
src/layout/supermarket/jiaoyi.vue

@@ -5,7 +5,7 @@
         <el-col :span="24" class="topInfo">
           <el-col :span="23" class="left">{{ title }}</el-col>
           <el-col :span="1" class="more">
-            <el-link :underline="false" @click.native="clickmore(scoped.row.id)"><el-image :src="more"></el-image></el-link>
+            <el-link :underline="false" @click="clickmore()"><el-image :src="more"></el-image></el-link>
           </el-col>
         </el-col>
         <el-col :span="24" class="list">
@@ -49,8 +49,8 @@ export default {
   created() {},
   computed: {},
   methods: {
-    clickmore(id) {
-      this.$router.push({ path: '/supermaket/supermarketlists' });
+    clickmore() {
+      this.$router.push({ path: '/supermaket/supermarkelists' });
     },
   },
 };
@@ -90,4 +90,8 @@ export default {
   overflow: hidden;
   white-space: nowrap;
 }
+.list {
+  height: 200px;
+  overflow: hidden;
+}
 </style>