已增加整轮播图和地图连线
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user