@jctrans-materials/comps-vue3 1.0.40-beta.7 → 1.0.40-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -12316,10 +12316,7 @@ function go2Policy(target = "_blank") {
12316
12316
  link.dispatchEvent(event);
12317
12317
  }
12318
12318
  const handleRedirect = (path, delay = 100) => {
12319
- if (process.env && process.env.NODE_ENV === "development") {
12320
- console.log("🍉 ~ constant.ts:517 ~ handleRedirect ~ path:", path);
12321
- return;
12322
- }
12319
+ if (typeof window === "undefined") return;
12323
12320
  if (!path) return;
12324
12321
  setTimeout(() => {
12325
12322
  if (path.startsWith("http")) {
@@ -19651,16 +19648,6 @@ const _sfc_main$2 = {
19651
19648
  async getLocalIpData() {
19652
19649
  const res1 = await getLocalIpDataApi();
19653
19650
  let IpDataRes = res1.data.data;
19654
- if (process.env.NODE_ENV === "development") {
19655
- IpDataRes = {
19656
- countryId: 57,
19657
- cityId: 4022,
19658
- countryNameCn: "新加坡",
19659
- countryNameEn: "Singapore",
19660
- cityNameCn: "新加坡",
19661
- cityNameEn: "Singapore"
19662
- };
19663
- }
19664
19651
  this.IpData = IpDataRes;
19665
19652
  },
19666
19653
  async getAreaCodeData() {
@@ -20095,7 +20082,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
20095
20082
  _: 1
20096
20083
  }, 8, ["modelValue", "width", "onClose", "onOpen"]);
20097
20084
  }
20098
- const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render], ["__scopeId", "data-v-e9b64ec5"]]);
20085
+ const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render], ["__scopeId", "data-v-5454c95c"]]);
20099
20086
  const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20100
20087
  __proto__: null,
20101
20088
  default: index$2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jctrans-materials/comps-vue3",
3
- "version": "1.0.40-beta.7",
3
+ "version": "1.0.40-beta.8",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "type": "module",
@@ -38,7 +38,7 @@
38
38
  "nanoid": "^5.1.6",
39
39
  "qrcode": "^1.5.4",
40
40
  "tailwindcss": "4.1.18",
41
- "@jctrans-materials/shared": "1.0.40-beta.7"
41
+ "@jctrans-materials/shared": "1.0.40-beta.8"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@tailwindcss/postcss": "4.1.18",