fix: 补充

This commit is contained in:
headmasterZhao 2023-04-01 19:28:39 +08:00
parent 4915f9e077
commit 77a5f47e82

View File

@ -55,6 +55,7 @@ watch(
if (!isObject(newData) || !('dimensions' in newData)) return
if (Array.isArray(newData?.dimensions)) {
const seriesArr = []
// oldData
// dimensionsYdimensions.length011X
const oldDimensions = Array.isArray(oldData?.dimensions)&&oldData.dimensions.length >= 1 ? oldData.dimensions.length : 1;
const newDimensions = newData.dimensions.length >= 1 ? newData.dimensions.length : 1;