Skip to content

Commit

Permalink
fix: 依赖条件fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyu.czm committed Feb 26, 2024
1 parent 5f9411f commit df08d0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/advanced/calculator.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default () => {
x-pattern="readPretty"
x-reactions={{
dependencies: ['.projects'],
when: '{{$deps.length > 0}}',
when: '{{$deps[0].length > 0}}',
fulfill: {
state: {
value:
Expand Down Expand Up @@ -338,7 +338,7 @@ const schema = {
'x-pattern': 'readPretty',
'x-reactions': {
dependencies: ['.projects'],
when: '{{$deps.length > 0}}',
when: '{{$deps[0].length > 0}}',
fulfill: {
state: {
value:
Expand Down

0 comments on commit df08d0c

Please sign in to comment.