修复bug

This commit is contained in:
2026-01-16 23:04:44 +08:00
parent 5588745ca1
commit 9ea4f0e999
6 changed files with 19 additions and 5 deletions

View File

@@ -7440,7 +7440,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "127.0.0.1,192.168.31.5,198.18.0.1";
const port = "8090";
const id = "mp-weixin_TDInvi";
const id = "mp-weixin_tqTix_";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();

View File

@@ -38,8 +38,9 @@ const _sfc_main = {
common_vendor.index.__f__("log", "at pages/login/index.vue:68", res);
common_vendor.index.setStorageSync("token", res.token);
common_vendor.index.setStorageSync("uid", res.user.user_id);
common_vendor.index.setStorageSync("username", res.user.user_name);
common_vendor.index.setStorageSync("user_name", res.user.user_name);
common_vendor.index.setStorageSync("role", res.user.role.value);
common_vendor.index.setStorageSync("staff_name", res.user.staff_name);
common_vendor.index.showToast({
title: "登录成功",
icon: "success"