谢杰标 3 年之前
父節點
當前提交
dc7754c0fb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/Marketing/goods/spec/compoent/configTable.vue

+ 2 - 2
src/views/Marketing/goods/spec/compoent/configTable.vue

@@ -4,7 +4,7 @@
       :tableSets="backSet(1)"
       :tableData="tableData"
       :navText="backNavText(false)"
-      :objectSpanMethod="objectSpanMethod"
+      :objectSpanMethod="tableData.length > 1 ? objectSpanMethod : () => {}"
       :loading="loading"
     >
       <template slot="btn" slot-scope="scope">
@@ -258,7 +258,7 @@ export default {
         choice: false,
         choiceRadio: choice,
         radioKey: "goodsId",
-        addHide: !false,
+        addHide: true,
         tableHide: choice,
         dontNum: true,
         headShow: false,