微信小程序通用工具库
import {
appendUrl
} from 'weapp-commons-util';
appendUrl('https://domain.com', {
a: 1,
b: 2
});
util
- 工具函数appendUrl
checkUpdate
getCssString
getCurrentPageUrl
getCurrentPageUrlParams
getHttpResponseHeaderValue
hasAuth
invokePageMethod
isGetPhoneNumberSuccess
isGetUserInfoSuccess
reloadCurrentPage
wx
- 包装 wx 的方法navigateBack
navigateTo
redirectTo
switchTab