1.5.1 • Published 4 months ago
@wines/tools v1.5.1
@wines/tools
调试工具
使用指南
在 page.json 中引入组件
{
"navigationBarTitleText": "Tools",
"usingComponents": {
"wux-tools": "@wines/tools"
}
}
示例
<wux-tools config="{{config}}">
This is comized item
</wux-tools>
import './index.less';
Page({
data: {
config: {
// --打开当前小程序页面
isTabbar: false,
currPagePath: '/pages/index/index',
currHomePagePath: '/pages/index/index',
},
},
});
API
参数 | 类型 | 描述 | 默认值 |
---|---|---|---|
config | object | 配置项 | - |
config.appid | string | 打开其他小程序appid | - |
config.appPath | string | 打开其他小程序appPath | - |
config.appVersion | string | 打开其他小程序appVersion | - |
config.isTabbar | boolean | 打开当前小程序页面tabbar页 | false |
config.currPagePath | string | 打开当前小程指定页面 | - |
config.currHomePagePath | string | 打开当前小程首页 | - |
2.0.0-next.6
4 months ago
2.0.0-next.4
4 months ago
2.0.0-next.5
4 months ago
2.0.0-next.3
4 months ago
2.0.0-next.2
4 months ago
2.0.0-next.0
4 months ago
2.0.0-next.1
4 months ago
1.5.1
2 years ago
1.5.0
3 years ago
1.3.5
4 years ago
1.4.0
3 years ago
1.3.2
4 years ago
1.3.1
4 years ago
1.3.0
4 years ago