Compare commits
2 Commits
main
...
hotfix/get
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6edfaacbae | ||
![]() |
234ed25656 |
1
.github/workflows/build-push.yml
vendored
1
.github/workflows/build-push.yml
vendored
@ -5,6 +5,7 @@ on:
|
||||
branches:
|
||||
- "main"
|
||||
- "deploy/dev"
|
||||
- "hotfix/get-property-of-string-type-cause-page-crash"
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
|
@ -546,7 +546,8 @@ export const getVarType = ({
|
||||
else {
|
||||
(valueSelector as ValueSelector).slice(1).forEach((key, i) => {
|
||||
const isLast = i === valueSelector.length - 2
|
||||
curr = curr?.find((v: any) => v.variable === key)
|
||||
if (Array.isArray(curr))
|
||||
curr = curr?.find((v: any) => v.variable === key)
|
||||
if (isLast) {
|
||||
type = curr?.type
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user