xieruidong il y a 2 ans
Parent
commit
f15ff07dc6
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6 1
      public/assets/js/backend/goods.js

+ 6 - 1
public/assets/js/backend/goods.js

@@ -408,7 +408,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                                             amount:null,
                                         }
                                     ],
-                                    detail:[],
+                                    detail:[
+                                        {
+                                            name:null,
+                                            value:null,
+                                        }
+                                    ],
                                 }
                                 //console.log('row',row)
                                 //通过规格值循环出规格值列数