|
|
@@ -488,7 +488,11 @@
|
|
|
form.categoryName = this.cName;
|
|
|
form.categoryId = this.cId;
|
|
|
|
|
|
- form.cycle = this.$refs.cycleMultipleRef.ruleCycleList;
|
|
|
+ form.cycle = this.$refs.cycleMultipleRef.ruleCycleList.map(
|
|
|
+ (i, index) => {
|
|
|
+ return { ...i, sortNum: index + 1 };
|
|
|
+ }
|
|
|
+ );
|
|
|
console.log(form);
|
|
|
|
|
|
switch (form.cycleType) {
|