wangyang преди 5 години
родител
ревизия
bac4d64366
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 2 2
      package.json
  2. 1 1
      src/views/food/index.vue

+ 2 - 2
package.json

@@ -16,6 +16,7 @@
   "dependencies": {
     "axios": "0.18.1",
     "core-js": "3.6.5",
+    "dropzone": "5.5.1",
     "element-ui": "2.13.2",
     "js-cookie": "2.2.0",
     "normalize.css": "7.0.0",
@@ -23,8 +24,7 @@
     "path-to-regexp": "2.4.0",
     "vue": "2.6.10",
     "vue-router": "3.0.6",
-    "vuex": "3.1.0",
-    "dropzone": "5.5.1"
+    "vuex": "3.1.0"
   },
   "devDependencies": {
     "@vue/cli-plugin-babel": "4.4.4",

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

@@ -44,7 +44,7 @@
         <template slot-scope="{row}">
           <el-image
             v-if="row.images && row.images.length > 0"
-            style="width: 150px; height: 180px"
+            style="width: 150px; height: 100px"
             :src="row.images[0]"
             fit="contain"
           />