Skip to content

Commit

Permalink
docs: update issue-helper api
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Feb 16, 2022
1 parent 248ba3b commit ea4b100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/issue-helper.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const form = createForm({
effects() {
onFieldMount('version', async (field) => {
const { versions: unsort } = await fetch(
'https://registry.nlark.com/@formily/core'
'https://registry.npmmirror.com/@formily/core'
).then((res) => res.json())

const versions = Object.keys(unsort).sort((v1, v2) =>
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/issue-helper.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const form = createForm({
effects() {
onFieldMount('version', async (field) => {
const { versions: unsort } = await fetch(
'https://registry.nlark.com/@formily/core'
'https://registry.npmmirror.com/@formily/core'
).then((res) => res.json())

const versions = Object.keys(unsort).sort((v1, v2) =>
Expand Down

0 comments on commit ea4b100

Please sign in to comment.