1.0.10 • Published 4 years ago

@miapp/navigate2 v1.0.10

Weekly downloads
13
License
MIT
Repository
-
Last release
4 years ago

小程序API ~ my.navigateTo 适配器

NPM包

@miapp/navigate2

主要功能

适配手淘、支付宝小程序的跳转功能,包括小程序内跳转、小程序间跳转、小程序外跳转。

使用

  1. 安装 yarn

    tnpm install yarn -g
  2. 添加依赖

    yarn add @miapp/navigate2
  3. 应用

    import '@miapp/navigate2';
    //应用内
    my.navigateTo({
        url:'/pages/back/index',
        success(){},
        fail(){}, 
        complete(){}
    });
    
    //应用外
    my.navigateTo({
       url:'url',
       success(){},
       fail(){}, 
       complete(){}
    });
1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago