Skip to content

Commit

Permalink
Fix wrong api invoke
Browse files Browse the repository at this point in the history
  • Loading branch information
linroid committed Dec 15, 2019
1 parent c237aa5 commit 9e4a414
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api_demo/components/types/webview.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
}, {
title: "Redirect",
onClick: async () => {
let newUrl = await $ui.prompt({
let newUrl = await $input.prompt({
title: "Url"
})
this.redirect(newUrl)
Expand Down
2 changes: 1 addition & 1 deletion api_demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"uuid": "2f33d8de-c474-4f38-a19b-cf2cab4228cc",
"name": "@dora.js/api-demo",
"displayName": "API Demo",
"version": "1.3.0",
"version": "1.3.1",
"description": "在这里可以快速体验 Dora.js 提供的各种 API",
"license": "MIT",
"author": {
Expand Down

0 comments on commit 9e4a414

Please sign in to comment.