• 解析状态变量的 path

    Parameters

    • variablePath: string

    Returns {
        storeName: string;
        variableName: string;
    }

    • storeName: string
    • variableName: string
    stores.foo.bar => { storeName: 'foo', variableName: 'bar' }
    
    stores.user.count => { storeName: 'user', variableName: 'count' }