Explorar o código

优化:后台商品列表页在小屏幕显示超出问题(补充)

萤火科技 %!s(int64=3) %!d(string=hai) anos
pai
achega
79388b7b56
Modificáronse 2 ficheiros con 4 adicións e 6 borrados
  1. 4 1
      src/views/goods/Index.vue
  2. 0 5
      yarn.lock

+ 4 - 1
src/views/goods/Index.vue

@@ -114,6 +114,7 @@ const columns = [
   {
     title: '商品名称',
     dataIndex: 'goods_name',
+    width: '302px',
     scopedSlots: { customRender: 'goods_name' }
   },
   {
@@ -140,12 +141,14 @@ const columns = [
   },
   {
     title: '添加时间',
+    width: '180px',
     dataIndex: 'create_time'
   },
   {
     title: '操作',
     dataIndex: 'action',
-    width: '180px',
+    width: '150px',
+    fixed: 'right',
     scopedSlots: { customRender: 'action' }
   }
 ]

+ 0 - 5
yarn.lock

@@ -11674,11 +11674,6 @@ vue-copy-to-clipboard@^1.0.3:
   dependencies:
     copy-to-clipboard "^3.3.1"
 
-vue-draggable-resizable@^2.3.0:
-  version "2.3.0"
-  resolved "https://registry.yarnpkg.com/vue-draggable-resizable/-/vue-draggable-resizable-2.3.0.tgz#94c433ca748bc1a4d0959ba1c5c0e1c3536cee5b"
-  integrity sha512-77CLRj1TPwB30pwsjOf3pkd1UzYanCdKXbqhILJ0Oo5QQl50lvBfyQCXxMFzwWwTc3sbBbQH3FfWSV+BkoSElA==
-
 vue-eslint-parser@^5.0.0:
   version "5.0.0"
   resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-5.0.0.tgz#00f4e4da94ec974b821a26ff0ed0f7a78402b8a1"