fastman-dfyjapp-compatible

A esm compatible library implementation for DFYJ APP

Usage no npm install needed!

<script type="module">
  import fastmanDfyjappCompatible from 'https://cdn.skypack.dev/fastman-dfyjapp-compatible';
</script>

README

fastman-dfyjapp-compatible

目录结构

dist index.esm.dev.js index.esm.release.js index.esm.test.js index.esm.uat.js index.umd.dev.js index.umd.release.js index.umd.test.js index.umd.uat.js

CHANGELOG

v 1.0.0

  1. 发布正式版本

v 1.1.0

  1. 新增 cancelIsForceViewExit 属性
  2. 新增 dev/test/release 对应环境版本的脚本

v 1.1.1

  1. 修复 ready 重复调用导致指令调用报错的缺陷

v 1.2.0

  1. 新增 onNavigateBar 指令

v 1.4.0

  1. 修复 touch 事件的缺陷

v 1.5.0

  1. 修复一级登录后 token 没有更新的缺陷

v 1.6.0

  1. 修复domman导入失效的问题

v 1.7.0

  1. 新增获取设备号指令getVtDeviceId

v 1.9.0

  1. 新增长短登录指令longShortLoginForDfyj
// 使用
 GetDFYJTicket.longShortLoginForDfyj().then(res => {
  console.log('===当前 longShortLoginForDfyj res===', res);
}).catch(err => {
  console.log('===当前 longShortLoginForDfyj err===', err);
})

v 1.10.0

  1. 修复安卓重复注册ready报错

v 1.11.0

  1. 导出readyInit函数,使用者需在入口页实例化前自行调用

v 1.12.0

  1. 长短登录指令longShortLoginForDfyj增加入参cancelIsForceQuit控制取消是否退出当前页,默认退出
// 入参 
longShortLoginForDfyj({cancelIsForceQuit:false}) // 停留在当前页
// 默认
longShortLoginForDfyj({}) or longShortLoginForDfyj({cancelIsForceQuit:true}) // 返回上一页

v 1.12.1

  1. 修复打包异常

v 1.13.0

  1. 新增二级登录指令nativeShortLogin
nativeShortLogin({
  isInteractive: false // 不唤起登录面板,默认true拉起
  cancelIsForceQuit:false// 停留在当前页 默认true后退
})