Skip to content

Commit

Permalink
add navigate to miniprogram demo in navigator
Browse files Browse the repository at this point in the history
  • Loading branch information
ele828 committed Oct 10, 2018
1 parent 1312fbc commit 3de0948
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018
Copyright (c) 2018 wechat-miniprogram

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 3 additions & 0 deletions page/component/pages/navigator/navigator.wxml
Expand Up @@ -12,6 +12,9 @@
<navigator url="redirect?title=redirect" redirect hover-class="other-navigator-hover">
<button type="default">在当前页打开</button>
</navigator>
<navigator target="miniProgram" open-type="navigate" app-id="wx4f1b24bdc99fa23b" version="release">
<button type="default">打开小程序</button>
</navigator>
</view>
</view>

Expand Down

0 comments on commit 3de0948

Please sign in to comment.