command-center-v3-common 0.0.60 → 0.0.63

Sign up to get free protection for your applications and to get access to all the features.
@@ -17321,9 +17321,9 @@ function L3({ props: e }) {
17321
17321
  t.value = null, f.value = { lat: "", lng: "" }, T();
17322
17322
  }
17323
17323
  function T(w) {
17324
- o.value !== 5 && (n.value = [], i.value = 1, u.value = !1, p.value = !1, console.log("重置数据", w), Te(() => {
17324
+ n.value = [], i.value = 1, u.value = !1, p.value = !1, o.value !== 5 && Te(() => {
17325
17325
  w !== 1 && I();
17326
- }));
17326
+ });
17327
17327
  }
17328
17328
  function I() {
17329
17329
  t.value && t.value.length ? o.value === 1 ? P() : o.value === 4 ? h() : o.value === 6 && L() : T(1);
@@ -17335,7 +17335,7 @@ function L3({ props: e }) {
17335
17335
  for (let W = 0; W < A.length; W++) {
17336
17336
  const z = A[W];
17337
17337
  O.push({
17338
- ...z.location,
17338
+ ...z,
17339
17339
  id: Sr(),
17340
17340
  address: z.address || z.name,
17341
17341
  title: _(z.name)
@@ -18231,7 +18231,7 @@ function A4({ emit: e, props: t }) {
18231
18231
  function d() {
18232
18232
  c && Te(async () => {
18233
18233
  const E = gt.getCache("userInfo");
18234
- let T = null;
18234
+ let T = [];
18235
18235
  E != null && E.lng && (E != null && E.lat) && (T = [E.lat, E.lng]), T.length === 0 && (T = null), n.value = await l.map("selectMapLocation", {
18236
18236
  maxZoom: p.maxZoom || 18,
18237
18237
  minZoom: p.minZoom || 13,