Explorar o código

fix(admin): 商品编辑页el-card__body增加overflow-y:auto使表单可滚动,保存按钮可见

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Xiaogang Liao hai 3 meses
pai
achega
d5cd836f12
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      cfc-web/src/views/admin/ProductEdit.vue

+ 4 - 1
cfc-web/src/views/admin/ProductEdit.vue

@@ -199,7 +199,7 @@
 
         <el-form-item>
           <el-button type="primary" :loading="saving" @click="handleSave">
-            保存
+{{ isEdit ? '保存修改' : '创建商品' }}
           </el-button>
           <el-button @click="$router.back()">取消</el-button>
         </el-form-item>
@@ -653,6 +653,9 @@ export default {
 .product-edit .el-card {
   width: 100%;
 }
+.product-edit .el-card .el-card__body {
+  overflow-y: auto;
+}
 .product-edit .el-form {
   width: 100%;
 }