riku
2024-11-14 00a96d6881dd10ae7d3c4f5437bfceaabe677723
bug修复

1. 修复管理员账户无法登录问题
已修改3个文件
已删除1个文件
8 ■■■■ 文件已修改
behaviors/login.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
common/common.rar 补丁 | 查看 | 原始文档 | blame | 历史
pages/simple-home/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
project.private.config.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
behaviors/login.js
@@ -96,7 +96,7 @@
            loadConfig()
              .then(res => {
                // 判断用户是否进入简化主页
                if (app.globalData.userConfig.ucExtension1 == 'simple') {
                if (app.globalData.userConfig && app.globalData.userConfig.ucExtension1 == 'simple') {
                  wx.redirectTo({
                    url: '/pages/simple-home/index',
                  });
common/common.rar
Binary files differ
pages/simple-home/index.js
@@ -2,7 +2,7 @@
import { useLoading } from '../../behaviors/loading';
import { useOptions } from '../home/options-proxy.js';
import { useInsepction } from '../home/inspection-proxy.js';
// import { useSupervision } from '../home/supervision-proxy.js';
import { useSupervision } from '../home/supervision-proxy.js';
// import { useNotice } from '../home/notice-proxy.js';
// import { useNews } from '../home/news-proxy.js';
import { useProblemChangeList } from '../inspection/ranking/problem-change-list.js';
@@ -16,7 +16,7 @@
    useLoading,
    useOptions,
    useInsepction,
    // useSupervision,
    useSupervision,
    // useNotice,
    // useNews,
    useStatistic,
project.private.config.json
@@ -2,7 +2,7 @@
  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
  "projectname": "ep-law-abiding-manage-weixin",
  "setting": {
    "compileHotReLoad": true,
    "compileHotReLoad": false,
    "urlCheck": false
  },
  "libVersion": "3.5.3"