فهرست منبع

修改图书封面编辑不显示问题

haveyou 1 سال پیش
والد
کامیت
ab9d0d9fbf

+ 4 - 1
src/styles/index.scss

@@ -149,6 +149,9 @@ body {
 
   .el-button {
     margin-right: 8px;
+    &:nth-child(even){
+        margin-right: 0;
+    }
   }
 
   .el-button+.el-button {
@@ -296,4 +299,4 @@ html.disabled-transition :not(.view-transition-trigger) * {
   .el-select-dropdown .el-select-dropdown__item {
     white-space: normal;
   }
-}
+}

+ 2 - 1
src/views/data/books/components/books-edit.vue

@@ -166,6 +166,7 @@
       catalog: data.catalog
     };
     values.bookBlurb = bookBlurb;
+    values.cover = formData.value.cover;
     return values;
   }
 
@@ -179,7 +180,7 @@
       values.anthorBlurb = data.bookBlurb.anthorBlurb;
       values.catalog = data.bookBlurb.catalog;
     }
-
+    formData.value.cover = data.cover;
     return values;
   }
 

+ 4 - 3
src/views/recycleOrder/components/order-page-all.vue

@@ -40,7 +40,7 @@
                 </template>
 
                 <template #action="{ row }">
-                    <div>
+                    <div class="action-btns">
                         <el-button type="success" link v-permission="usePermission('detail')"
                             @click="toOrderDetail(row)">
                             [订单详情]
@@ -213,11 +213,12 @@ const columns = ref([
     {
         columnKey: 'action',
         label: '操作',
-        width: 180,
+        width: 176,
         align: 'center',
         slot: 'action',
         hideInPrint: true,
-        hideInExport: true
+        hideInExport: true,
+        fixed: 'right'
     }
 ]);