mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-21 10:25:53 +08:00
Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop-ui into dev-gl
This commit is contained in:
@@ -1125,6 +1125,7 @@ export default {
|
||||
this.$Message.error("规格值不能大于10个!");
|
||||
return;
|
||||
}
|
||||
|
||||
this.$set(item.spec_values, item.spec_values.length, {
|
||||
name: item.name,
|
||||
value: "",
|
||||
@@ -1209,7 +1210,6 @@ export default {
|
||||
this.skuTableColumn = pushData;
|
||||
//克隆所有渲染的数据
|
||||
let cloneTemp = cloneObj(this.skuInfo);
|
||||
|
||||
if (cloneTemp[0]) {
|
||||
//存放最终结果
|
||||
let result = [];
|
||||
@@ -1353,6 +1353,15 @@ export default {
|
||||
});
|
||||
}
|
||||
},
|
||||
// 判断相同数组的值
|
||||
scalarArrayEquals(array1, array2) {
|
||||
return (
|
||||
array1.length === array2.length &&
|
||||
array1.every(function (v, i) {
|
||||
return v === array2[i];
|
||||
})
|
||||
);
|
||||
},
|
||||
/** 自动完成表单所需方法*/
|
||||
filterMethod(value, option) {
|
||||
return option.toUpperCase().indexOf(value.toUpperCase()) !== -1;
|
||||
|
||||
Reference in New Issue
Block a user