• 注册
  • 查看作者
  • 陀螺匠APP打包源码修改版权信息,位置:OA/components/copyright/index.vue
    修改内容:
    修改前:Copyright © 2026 OA办公管理系统 All Rights Reserved
    修改后:Copyright © 2026 (你的名称) All Rights Reserved

    福建·福州
  • 0
  • 2
  • 0
  • 1k
  • 请登录之后再进行评论

    登录
  • 0
    以下是解决:打包时未添加push模块,请参考 链接

    文件: pages/users/login/index.vue

    第 232 行(账号密码登录):

    // 修改前
    let info = plus.push.getClientInfo()
    data.client_id = info.clientid

    // 修改后(已注释)
    // let info = plus.push.getClientInfo()
    // data.client_id = info.clientid

    这两行代码在登录时调用 plus.push.getClientInfo() 获取推送的 client_id 传给后端,但打包时没包含 Push 模块,所以一登录就崩溃。
  • 0
    编辑C:\Users\osystem\Downloads\FIN\App.vue

    修改前(第 30-34 行):
    if (store.state.app.isLogin) {
    // #ifdef APP-PLUS
    plus.navigator.closeSplashscreen();
    addEventListener(); // ← 这里
    // #endif


    修改后:
    if (store.state.app.isLogin) {
    // #ifdef APP-PLUS
    plus.navigator.closeSplashscreen();
    // addEventListener(); // 暂时关闭push推送,如需启用请在manifest.json中勾选Push模块
    // #endif
  • 关注微信公众号

  • 切换主题
  • 底部
  • 单栏布局 侧栏位置: