2.0.3 • Published 2 years ago
fx-platform-return v2.0.3
h5 返回大平台
Usuage
# under project root path
npm i -save-dev fx-platform-return
// in project
import { platformReturn, removePlatformReturn } from "fx-platform-return";
/**
* @require agreementUser {String} 企业ID
* @require conf {Object} 项目配置
* rtn {String} 返回大平台时 pathname, 默认 '/'
*/
platformReturn({ agreementUser, conf, rtn });
// 删除返回按钮
removePlatformReturn()
for developers
npm version v0.0.0
npm run build
npm publish