|
@@ -200,8 +200,8 @@ export default {
|
|
|
rawWholeData = res
|
|
|
// 原始字符串数组处理成二维数组
|
|
|
let wholeInputPointArray = rawWholeData.map((eachString, index) => {
|
|
|
- console.assert(eachString.split(' ').length === 12, `index ${index}处数据点 数字个数不是12!`)
|
|
|
- return eachString.split(' ')
|
|
|
+ console.assert(eachString.trim().split(' ').length === 12, `index ${index}处数据点 数字个数不是12!`)
|
|
|
+ return eachString.trim().split(' ')
|
|
|
})
|
|
|
|
|
|
// 所有点的分布情况
|