已增加整轮播图和地图连线

This commit is contained in:
aixianling
2023-10-07 11:30:13 +08:00
parent 39a344b054
commit 50541832cc
12 changed files with 451 additions and 153 deletions

View File

@@ -220,5 +220,17 @@ export default {
$load,
$reg,
Area,
ID
ID,
$arrDepth: (arr) => {
if (Array.isArray(arr)) {
let max = 1
for (let i = 0; i < arr.length; i++) {
const depth = this.$arrDepth(arr[i])
if (depth > max) {
max = depth
}
}
return max
} else return 0
}
}