feat(withdraw): 添加设备信息获取和小程序跳转功能
添加了 getDeviceInfo 和 openLink 方法到 native bridge,
用于获取 APP 版本信息并在版本过低时引导用户跳转到小程序确认收款。
同时增加了 version-compare 依赖包来比较 APP 版本号,
当检测到 APP 版本低于 5.0.0 时会弹窗提示用户前往小程序操作。
Showing
| ... | @@ -17,6 +17,7 @@ | ... | @@ -17,6 +17,7 @@ |
| "js-cookie": "^2.2.1", | "js-cookie": "^2.2.1", | ||
| "vant": "^3.0.9", | "vant": "^3.0.9", | ||
| "vconsole": "^3.4.0", | "vconsole": "^3.4.0", | ||
| "version-compare": "^3.12.0", | |||
| "vue": "^3.2.13", | "vue": "^3.2.13", | ||
| "vue-router": "^4.2.4", | "vue-router": "^4.2.4", | ||
| "vuex": "^4.0.2" | "vuex": "^4.0.2" | ||
| ... | ... |
Please
register
or
sign in
to comment