@partex/one-core 2.0.91 → 2.0.93

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/lib/one-core.js CHANGED
@@ -1000,14 +1000,10 @@ const CY = () => {
1000
1000
  url: `${kd}${e}`,
1001
1001
  method: "POST",
1002
1002
  data: t
1003
- }), V_ = "2.0.91";
1003
+ }), V_ = "2.0.93";
1004
1004
  function cD() {
1005
1005
  const e = Ut("platformListOwned", !1);
1006
- if (e) {
1007
- const t = JSON.parse(e);
1008
- return bp(t), Promise.resolve(t.platformList);
1009
- }
1010
- return new Promise((t, r) => {
1006
+ return e ? (bp(e), Promise.resolve(e.platformList)) : new Promise((t, r) => {
1011
1007
  uD({
1012
1008
  url: "https://partex-cloud-static.oss-cn-hangzhou.aliyuncs.com/platform.json",
1013
1009
  method: "GET",
@@ -29134,9 +29130,15 @@ const oH = /* @__PURE__ */ re(nH, [["render", iH]]), sH = Ie({
29134
29130
  });
29135
29131
  }
29136
29132
  }
29137
- ), Jt(() => ie.platformMenu, (T) => {
29138
- console.log(T), u.value = T;
29139
- }), {
29133
+ ), Jt(
29134
+ () => ie.platformMenu,
29135
+ (T) => {
29136
+ console.log(T), u.value = T;
29137
+ },
29138
+ {
29139
+ deep: !0
29140
+ }
29141
+ ), {
29140
29142
  userStore: G,
29141
29143
  commonStore: ie,
29142
29144
  activeMenu: i,