mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 07:29:24 +08:00
feat: suport add child
This commit is contained in:
parent
118e78fc6d
commit
d27cbeb1bd
@ -10,7 +10,7 @@ export const isColumnComponent = (schema: Schema) => {
|
||||
|
||||
export function extractIndex(str) {
|
||||
const numbers = [];
|
||||
str.split('.').forEach(function (element) {
|
||||
str?.split('.').forEach(function (element) {
|
||||
if (!isNaN(element)) {
|
||||
numbers.push(String(Number(element) + 1));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user