优化代码

This commit is contained in:
pengxiaolong
2025-09-29 20:48:31 +08:00
parent 0a721e99f8
commit 0044f8f334
63 changed files with 667 additions and 137 deletions

View File

@@ -6467,9 +6467,9 @@ function populateParameters(fromRes, toRes) {
appVersion: "1.0.0",
appVersionCode: "100",
appLanguage: getAppLanguage(hostLanguage),
uniCompileVersion: "4.75",
uniCompilerVersion: "4.75",
uniRuntimeVersion: "4.75",
uniCompileVersion: "4.76",
uniCompilerVersion: "4.76",
uniRuntimeVersion: "4.76",
uniPlatform: "mp-weixin",
deviceBrand,
deviceModel: model,
@@ -6618,9 +6618,9 @@ const getAppBaseInfo = {
appLanguage: getAppLanguage(hostLanguage),
isUniAppX: false,
uniPlatform: "mp-weixin",
uniCompileVersion: "4.75",
uniCompilerVersion: "4.75",
uniRuntimeVersion: "4.75"
uniCompileVersion: "4.76",
uniCompilerVersion: "4.76",
uniRuntimeVersion: "4.76"
};
extend(toRes, parameters);
}
@@ -7362,7 +7362,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.1.112,127.0.0.1";
const port = "8090";
const id = "mp-weixin_oaDwei";
const id = "mp-weixin_hMa31s";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();