优化页面
This commit is contained in:
@@ -103,7 +103,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
b: common_vendor.t(item.anchorId),
|
||||
c: item.sex === "2"
|
||||
}, item.sex === "2" ? {
|
||||
d: common_assets._imports_0$4
|
||||
d: common_assets._imports_0$3
|
||||
} : {
|
||||
e: common_assets._imports_1$1
|
||||
}, {
|
||||
|
||||
16
unpackage/dist/dev/mp-weixin/components/generateMsgId.js
vendored
Normal file
16
unpackage/dist/dev/mp-weixin/components/generateMsgId.js
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
function generateRandomString(length = 6) {
|
||||
const chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
||||
let result = "";
|
||||
for (let i = 0; i < length; i++) {
|
||||
result += chars[Math.floor(Math.random() * chars.length)];
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function generateMsgId() {
|
||||
const randomPart = generateRandomString();
|
||||
const timestamp = Date.now();
|
||||
return `${randomPart}${timestamp}`;
|
||||
}
|
||||
exports.generateMsgId = generateMsgId;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/generateMsgId.js.map
|
||||
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../common/vendor.js");
|
||||
function request(urldata) {
|
||||
const { url, data, method, header, userInfo } = urldata;
|
||||
const baseUrl = "http://192.168.1.218:8086/" + url;
|
||||
const baseUrl = "http://120.26.251.180:8086/" + url;
|
||||
if (userInfo) {
|
||||
return new Promise((resolve, reject) => {
|
||||
common_vendor.index.getStorage({
|
||||
@@ -16,7 +16,7 @@ function request(urldata) {
|
||||
method,
|
||||
header,
|
||||
success: function(res2) {
|
||||
common_vendor.index.__f__("log", "at components/request.js:19", "请求成功1", res2.data);
|
||||
common_vendor.index.__f__("log", "at components/request.js:18", "请求成功1", res2.data);
|
||||
resolve(res2.data);
|
||||
},
|
||||
fail: function(res2) {
|
||||
@@ -47,7 +47,7 @@ function request(urldata) {
|
||||
method,
|
||||
header,
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at components/request.js:50", "请求成功2", res);
|
||||
common_vendor.index.__f__("log", "at components/request.js:49", "请求成功2", res);
|
||||
resolve(res.data);
|
||||
},
|
||||
fail: function(res) {
|
||||
|
||||
@@ -37,7 +37,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: !$data.Select ? 1 : "",
|
||||
g: common_vendor.o$1((...args) => $options.screening && $options.screening(...args)),
|
||||
h: common_vendor.o$1((...args) => $options.Search && $options.Search(...args)),
|
||||
i: common_assets._imports_0$3
|
||||
i: common_assets._imports_0$4
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ce2f6748"]]);
|
||||
|
||||
Reference in New Issue
Block a user