ui-process-h5 2.5.51 → 2.5.52
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/package.json +1 -1
- package/v2/style.css +1 -1
- package/v2/ui-process-h5.js +154 -153
- package/v2/ui-process-h5.umd.cjs +6 -6
- package/v2.7/style.css +1 -1
- package/v2.7/ui-process-h5.js +61 -60
- package/v2.7/ui-process-h5.umd.cjs +4 -4
- package/v3/style.css +1 -1
- package/v3/ui-process-h5.js +12 -11
- package/v3/ui-process-h5.umd.cjs +1 -1
package/v2.7/ui-process-h5.js
CHANGED
|
@@ -434,15 +434,15 @@ function st(t, s, e, i, a, n) {
|
|
|
434
434
|
}) : r.depend(), h && (h.dep.depend(), I(A) && Fa(A))), nt(A) && !a ? A.value : A;
|
|
435
435
|
},
|
|
436
436
|
set: function(A) {
|
|
437
|
-
var
|
|
438
|
-
if (!!Rn(
|
|
437
|
+
var T = c ? c.call(t) : e;
|
|
438
|
+
if (!!Rn(T, A)) {
|
|
439
439
|
if (process.env.NODE_ENV !== "production" && i && i(), u)
|
|
440
440
|
u.call(t, A);
|
|
441
441
|
else {
|
|
442
442
|
if (c)
|
|
443
443
|
return;
|
|
444
|
-
if (!a && nt(
|
|
445
|
-
|
|
444
|
+
if (!a && nt(T) && !nt(A)) {
|
|
445
|
+
T.value = A;
|
|
446
446
|
return;
|
|
447
447
|
} else
|
|
448
448
|
e = A;
|
|
@@ -452,7 +452,7 @@ function st(t, s, e, i, a, n) {
|
|
|
452
452
|
target: t,
|
|
453
453
|
key: s,
|
|
454
454
|
newValue: A,
|
|
455
|
-
oldValue:
|
|
455
|
+
oldValue: T
|
|
456
456
|
}) : r.notify();
|
|
457
457
|
}
|
|
458
458
|
}
|
|
@@ -715,8 +715,8 @@ function cr(t, s, e, i, a) {
|
|
|
715
715
|
var h = Ut(c), g = Rt(c);
|
|
716
716
|
if (!(h in n) && !(g in n) && (n[c] = e[c], a)) {
|
|
717
717
|
var A = t.on || (t.on = {});
|
|
718
|
-
A["update:".concat(c)] = function(
|
|
719
|
-
e[c] =
|
|
718
|
+
A["update:".concat(c)] = function(T) {
|
|
719
|
+
e[c] = T;
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
};
|
|
@@ -973,7 +973,7 @@ function kr(t, s) {
|
|
|
973
973
|
return Et(i, e);
|
|
974
974
|
});
|
|
975
975
|
var o = function(g) {
|
|
976
|
-
for (var A = 0,
|
|
976
|
+
for (var A = 0, T = i.length; A < T; A++)
|
|
977
977
|
i[A].$forceUpdate();
|
|
978
978
|
g && (i.length = 0, n !== null && (clearTimeout(n), n = null), r !== null && (clearTimeout(r), r = null));
|
|
979
979
|
}, c = Le(function(g) {
|
|
@@ -1349,8 +1349,8 @@ function Gr(t, s, e, i, a) {
|
|
|
1349
1349
|
var g = t.$options._parentListeners;
|
|
1350
1350
|
if (t._listenersProxy && Ge(t._listenersProxy, e, g || R, t, "$listeners"), t.$listeners = t.$options._parentListeners = e, Ha(t, e, g), s && t.$options.props) {
|
|
1351
1351
|
Tt(!1);
|
|
1352
|
-
for (var A = t._props,
|
|
1353
|
-
var G =
|
|
1352
|
+
for (var A = t._props, T = t.$options._propKeys || [], M = 0; M < T.length; M++) {
|
|
1353
|
+
var G = T[M], ot = t.$options.props;
|
|
1354
1354
|
A[G] = _s(G, ot, s, t);
|
|
1355
1355
|
}
|
|
1356
1356
|
Tt(!0), t.$options.propsData = s;
|
|
@@ -1505,11 +1505,11 @@ function Js(t, s, e, i, a) {
|
|
|
1505
1505
|
get: function() {
|
|
1506
1506
|
return oe(i, t.scopedSlots, this.slots());
|
|
1507
1507
|
}
|
|
1508
|
-
}), c && (this.$options = r, this.$slots = this.slots(), this.$scopedSlots = oe(i, t.scopedSlots, this.$slots)), r._scopeId ? this._c = function(h, g, A,
|
|
1509
|
-
var M = Je(o, h, g, A,
|
|
1508
|
+
}), c && (this.$options = r, this.$slots = this.slots(), this.$scopedSlots = oe(i, t.scopedSlots, this.$slots)), r._scopeId ? this._c = function(h, g, A, T) {
|
|
1509
|
+
var M = Je(o, h, g, A, T, u);
|
|
1510
1510
|
return M && !I(M) && (M.fnScopeId = r._scopeId, M.fnContext = i), M;
|
|
1511
|
-
} : this._c = function(h, g, A,
|
|
1512
|
-
return Je(o, h, g, A,
|
|
1511
|
+
} : this._c = function(h, g, A, T) {
|
|
1512
|
+
return Je(o, h, g, A, T, u);
|
|
1513
1513
|
};
|
|
1514
1514
|
}
|
|
1515
1515
|
qa(Js.prototype);
|
|
@@ -1524,8 +1524,8 @@ function zr(t, s, e, i, a) {
|
|
|
1524
1524
|
if (h instanceof j)
|
|
1525
1525
|
return vi(h, e, u.parent, n, u);
|
|
1526
1526
|
if (I(h)) {
|
|
1527
|
-
for (var g = Ms(h) || [], A = new Array(g.length),
|
|
1528
|
-
A[
|
|
1527
|
+
for (var g = Ms(h) || [], A = new Array(g.length), T = 0; T < g.length; T++)
|
|
1528
|
+
A[T] = vi(g[T], e, u.parent, n, u);
|
|
1529
1529
|
return A;
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
@@ -2517,8 +2517,8 @@ function Tc(t) {
|
|
|
2517
2517
|
})) && B.isUnknownElement(p.tag);
|
|
2518
2518
|
}
|
|
2519
2519
|
var h = 0;
|
|
2520
|
-
function g(p, l, f, v, y, N,
|
|
2521
|
-
if (d(p.elm) && d(N) && (p = N[
|
|
2520
|
+
function g(p, l, f, v, y, N, k) {
|
|
2521
|
+
if (d(p.elm) && d(N) && (p = N[k] = ds(p)), p.isRootInsert = !y, !A(p, l, f, v)) {
|
|
2522
2522
|
var b = p.data, x = p.children, w = p.tag;
|
|
2523
2523
|
d(w) ? (process.env.NODE_ENV !== "production" && (b && b.pre && h++, u(p, h) && m("Unknown custom element: <" + w + '> - did you register the component correctly? For recursive components, make sure to provide the "name" option.', p.context)), p.elm = p.ns ? n.createElementNS(p.ns, w) : n.createElement(w, p), xt(p), ot(p, x, l), d(b) && Y(p, l), G(f, p.elm, v), process.env.NODE_ENV !== "production" && b && b.pre && h--) : O(p.isComment) ? (p.elm = n.createComment(p.text), G(f, p.elm, v)) : (p.elm = n.createTextNode(p.text), G(f, p.elm, v));
|
|
2524
2524
|
}
|
|
@@ -2528,10 +2528,10 @@ function Tc(t) {
|
|
|
2528
2528
|
if (d(y)) {
|
|
2529
2529
|
var N = d(p.componentInstance) && y.keepAlive;
|
|
2530
2530
|
if (d(y = y.hook) && d(y = y.init) && y(p, !1), d(p.componentInstance))
|
|
2531
|
-
return
|
|
2531
|
+
return T(p, l), G(f, p.elm, v), O(N) && M(p, l, f, v), !0;
|
|
2532
2532
|
}
|
|
2533
2533
|
}
|
|
2534
|
-
function
|
|
2534
|
+
function T(p, l) {
|
|
2535
2535
|
d(p.data.pendingInsert) && (l.push.apply(l, p.data.pendingInsert), p.data.pendingInsert = null), p.elm = p.componentInstance.$el, _(p) ? (Y(p, l), xt(p)) : (Wt(p), l.push(p));
|
|
2536
2536
|
}
|
|
2537
2537
|
function M(p, l, f, v) {
|
|
@@ -2603,10 +2603,10 @@ function Tc(t) {
|
|
|
2603
2603
|
c(p.elm);
|
|
2604
2604
|
}
|
|
2605
2605
|
function se(p, l, f, v, y) {
|
|
2606
|
-
var N = 0,
|
|
2607
|
-
for (process.env.NODE_ENV !== "production" && jt(f); N <= b &&
|
|
2608
|
-
C(x) ? x = l[++N] : C(w) ? w = l[--b] : Ot(x, F) ? (lt(x, F, v, f,
|
|
2609
|
-
N > b ? (si = C(f[E + 1]) ? null : f[E + 1].elm, qt(p, si, f,
|
|
2606
|
+
var N = 0, k = 0, b = l.length - 1, x = l[0], w = l[b], E = f.length - 1, F = f[0], Z = f[E], Dt, At, vt, si, Xe = !y;
|
|
2607
|
+
for (process.env.NODE_ENV !== "production" && jt(f); N <= b && k <= E; )
|
|
2608
|
+
C(x) ? x = l[++N] : C(w) ? w = l[--b] : Ot(x, F) ? (lt(x, F, v, f, k), x = l[++N], F = f[++k]) : Ot(w, Z) ? (lt(w, Z, v, f, E), w = l[--b], Z = f[--E]) : Ot(x, Z) ? (lt(x, Z, v, f, E), Xe && n.insertBefore(p, x.elm, n.nextSibling(w.elm)), x = l[++N], Z = f[--E]) : Ot(w, F) ? (lt(w, F, v, f, k), Xe && n.insertBefore(p, w.elm, x.elm), w = l[--b], F = f[++k]) : (C(Dt) && (Dt = bc(l, N, b)), At = d(F.key) ? Dt[F.key] : Ie(F, l, N, b), C(At) ? g(F, v, p, x.elm, !1, f, k) : (vt = l[At], Ot(vt, F) ? (lt(vt, F, v, f, k), l[At] = void 0, Xe && n.insertBefore(p, vt.elm, x.elm)) : g(F, v, p, x.elm, !1, f, k)), F = f[++k]);
|
|
2609
|
+
N > b ? (si = C(f[E + 1]) ? null : f[E + 1].elm, qt(p, si, f, k, E, v)) : k > E && ct(l, N, b);
|
|
2610
2610
|
}
|
|
2611
2611
|
function jt(p) {
|
|
2612
2612
|
for (var l = {}, f = 0; f < p.length; f++) {
|
|
@@ -2624,7 +2624,7 @@ function Tc(t) {
|
|
|
2624
2624
|
function lt(p, l, f, v, y, N) {
|
|
2625
2625
|
if (p !== l) {
|
|
2626
2626
|
d(l.elm) && d(v) && (l = v[y] = ds(l));
|
|
2627
|
-
var
|
|
2627
|
+
var k = l.elm = p.elm;
|
|
2628
2628
|
if (O(p.isAsyncPlaceholder)) {
|
|
2629
2629
|
d(l.asyncFactory.resolved) ? gt(p.elm, l, f) : l.isAsyncPlaceholder = !0;
|
|
2630
2630
|
return;
|
|
@@ -2641,7 +2641,7 @@ function Tc(t) {
|
|
|
2641
2641
|
i.update[b](p, l);
|
|
2642
2642
|
d(b = x.hook) && d(b = b.update) && b(p, l);
|
|
2643
2643
|
}
|
|
2644
|
-
C(l.text) ? d(w) && d(E) ? w !== E && se(
|
|
2644
|
+
C(l.text) ? d(w) && d(E) ? w !== E && se(k, w, E, f, N) : d(E) ? (process.env.NODE_ENV !== "production" && jt(E), d(p.text) && n.setTextContent(k, ""), qt(k, null, E, 0, E.length - 1, f)) : d(w) ? ct(w, 0, w.length - 1) : d(p.text) && n.setTextContent(k, "") : p.text !== l.text && n.setTextContent(k, l.text), d(x) && d(b = x.hook) && d(b = b.postpatch) && b(p, l);
|
|
2645
2645
|
}
|
|
2646
2646
|
}
|
|
2647
2647
|
function mt(p, l, f) {
|
|
@@ -2653,18 +2653,18 @@ function Tc(t) {
|
|
|
2653
2653
|
}
|
|
2654
2654
|
var St = !1, be = z("attrs,class,staticClass,staticStyle,key");
|
|
2655
2655
|
function gt(p, l, f, v) {
|
|
2656
|
-
var y, N = l.tag,
|
|
2657
|
-
if (v = v ||
|
|
2656
|
+
var y, N = l.tag, k = l.data, b = l.children;
|
|
2657
|
+
if (v = v || k && k.pre, l.elm = p, O(l.isComment) && d(l.asyncFactory))
|
|
2658
2658
|
return l.isAsyncPlaceholder = !0, !0;
|
|
2659
2659
|
if (process.env.NODE_ENV !== "production" && !Kt(p, l, v))
|
|
2660
2660
|
return !1;
|
|
2661
|
-
if (d(
|
|
2662
|
-
return
|
|
2661
|
+
if (d(k) && (d(y = k.hook) && d(y = y.init) && y(l, !0), d(y = l.componentInstance)))
|
|
2662
|
+
return T(l, f), !0;
|
|
2663
2663
|
if (d(N)) {
|
|
2664
2664
|
if (d(b))
|
|
2665
2665
|
if (!p.hasChildNodes())
|
|
2666
2666
|
ot(l, b, f);
|
|
2667
|
-
else if (d(y =
|
|
2667
|
+
else if (d(y = k) && d(y = y.domProps) && d(y = y.innerHTML)) {
|
|
2668
2668
|
if (y !== p.innerHTML)
|
|
2669
2669
|
return process.env.NODE_ENV !== "production" && typeof console < "u" && !St && (St = !0, console.warn("Parent: ", p), console.warn("server innerHTML: ", y), console.warn("client innerHTML: ", p.innerHTML)), !1;
|
|
2670
2670
|
} else {
|
|
@@ -2678,14 +2678,14 @@ function Tc(t) {
|
|
|
2678
2678
|
if (!x || w)
|
|
2679
2679
|
return process.env.NODE_ENV !== "production" && typeof console < "u" && !St && (St = !0, console.warn("Parent: ", p), console.warn("Mismatching childNodes vs. VNodes: ", p.childNodes, b)), !1;
|
|
2680
2680
|
}
|
|
2681
|
-
if (d(
|
|
2681
|
+
if (d(k)) {
|
|
2682
2682
|
var F = !1;
|
|
2683
|
-
for (var Z in
|
|
2683
|
+
for (var Z in k)
|
|
2684
2684
|
if (!be(Z)) {
|
|
2685
2685
|
F = !0, Y(l, f);
|
|
2686
2686
|
break;
|
|
2687
2687
|
}
|
|
2688
|
-
!F &&
|
|
2688
|
+
!F && k.class && Re(k.class);
|
|
2689
2689
|
}
|
|
2690
2690
|
} else
|
|
2691
2691
|
p.data !== l.text && (p.data = l.text);
|
|
@@ -2699,18 +2699,18 @@ function Tc(t) {
|
|
|
2699
2699
|
d(l) && Bt(l);
|
|
2700
2700
|
return;
|
|
2701
2701
|
}
|
|
2702
|
-
var N = !1,
|
|
2702
|
+
var N = !1, k = [];
|
|
2703
2703
|
if (C(l))
|
|
2704
|
-
N = !0, g(f,
|
|
2704
|
+
N = !0, g(f, k);
|
|
2705
2705
|
else {
|
|
2706
2706
|
var b = d(l.nodeType);
|
|
2707
2707
|
if (!b && Ot(l, f))
|
|
2708
|
-
lt(l, f,
|
|
2708
|
+
lt(l, f, k, null, null, y);
|
|
2709
2709
|
else {
|
|
2710
2710
|
if (b) {
|
|
2711
2711
|
if (l.nodeType === 1 && l.hasAttribute(ai) && (l.removeAttribute(ai), v = !0), O(v)) {
|
|
2712
|
-
if (gt(l, f,
|
|
2713
|
-
return mt(f,
|
|
2712
|
+
if (gt(l, f, k))
|
|
2713
|
+
return mt(f, k, !0), l;
|
|
2714
2714
|
process.env.NODE_ENV !== "production" && m("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.");
|
|
2715
2715
|
}
|
|
2716
2716
|
l = r(l);
|
|
@@ -2718,7 +2718,7 @@ function Tc(t) {
|
|
|
2718
2718
|
var x = l.elm, w = n.parentNode(x);
|
|
2719
2719
|
if (g(
|
|
2720
2720
|
f,
|
|
2721
|
-
|
|
2721
|
+
k,
|
|
2722
2722
|
x._leaveCb ? null : w,
|
|
2723
2723
|
n.nextSibling(x)
|
|
2724
2724
|
), d(f.parent))
|
|
@@ -2739,7 +2739,7 @@ function Tc(t) {
|
|
|
2739
2739
|
d(w) ? ct([l], 0, 0) : d(l.tag) && Bt(l);
|
|
2740
2740
|
}
|
|
2741
2741
|
}
|
|
2742
|
-
return mt(f,
|
|
2742
|
+
return mt(f, k, N), f.elm;
|
|
2743
2743
|
};
|
|
2744
2744
|
}
|
|
2745
2745
|
var kc = {
|
|
@@ -3106,11 +3106,11 @@ function ws(t, s) {
|
|
|
3106
3106
|
d(e._leaveCb) && (e._leaveCb.cancelled = !0, e._leaveCb());
|
|
3107
3107
|
var i = dn(t.data.transition);
|
|
3108
3108
|
if (!C(i) && !(d(e._enterCb) || e.nodeType !== 1)) {
|
|
3109
|
-
for (var a = i.css, n = i.type, r = i.enterClass, o = i.enterToClass, c = i.enterActiveClass, u = i.appearClass, h = i.appearToClass, g = i.appearActiveClass, A = i.beforeEnter,
|
|
3109
|
+
for (var a = i.css, n = i.type, r = i.enterClass, o = i.enterToClass, c = i.enterActiveClass, u = i.appearClass, h = i.appearToClass, g = i.appearActiveClass, A = i.beforeEnter, T = i.enter, M = i.afterEnter, G = i.enterCancelled, ot = i.beforeAppear, _ = i.appear, Y = i.afterAppear, xt = i.appearCancelled, qt = i.duration, Bt = Lt, ct = Lt.$vnode; ct && ct.parent; )
|
|
3110
3110
|
Bt = ct.context, ct = ct.parent;
|
|
3111
3111
|
var tt = !Bt._isMounted || !t.isRootInsert;
|
|
3112
3112
|
if (!(tt && !_ && _ !== "")) {
|
|
3113
|
-
var se = tt && u ? u : r, jt = tt && g ? g : c, Ie = tt && h ? h : o, lt = tt && ot || A, mt = tt && D(_) ? _ :
|
|
3113
|
+
var se = tt && u ? u : r, jt = tt && g ? g : c, Ie = tt && h ? h : o, lt = tt && ot || A, mt = tt && D(_) ? _ : T, St = tt && Y || M, be = tt && xt || G, gt = ce(V(qt) ? qt.enter : qt);
|
|
3114
3114
|
process.env.NODE_ENV !== "production" && gt != null && yn(gt, "enter", t);
|
|
3115
3115
|
var Kt = a !== !1 && !$t, p = $s(mt), l = e._enterCb = Le(function() {
|
|
3116
3116
|
Kt && (dt(e, Ie), dt(e, jt)), l.cancelled ? (Kt && dt(e, se), be && be(e)) : St && St(e), e._enterCb = null;
|
|
@@ -3132,12 +3132,12 @@ function vn(t, s) {
|
|
|
3132
3132
|
return s();
|
|
3133
3133
|
if (d(e._leaveCb))
|
|
3134
3134
|
return;
|
|
3135
|
-
var a = i.css, n = i.type, r = i.leaveClass, o = i.leaveToClass, c = i.leaveActiveClass, u = i.beforeLeave, h = i.leave, g = i.afterLeave, A = i.leaveCancelled,
|
|
3135
|
+
var a = i.css, n = i.type, r = i.leaveClass, o = i.leaveToClass, c = i.leaveActiveClass, u = i.beforeLeave, h = i.leave, g = i.afterLeave, A = i.leaveCancelled, T = i.delayLeave, M = i.duration, G = a !== !1 && !$t, ot = $s(h), _ = ce(V(M) ? M.leave : M);
|
|
3136
3136
|
process.env.NODE_ENV !== "production" && d(_) && yn(_, "leave", t);
|
|
3137
3137
|
var Y = e._leaveCb = Le(function() {
|
|
3138
3138
|
e.parentNode && e.parentNode._pending && (e.parentNode._pending[t.key] = null), G && (dt(e, o), dt(e, c)), Y.cancelled ? (G && dt(e, r), A && A(e)) : (s(), g && g(e)), e._leaveCb = null;
|
|
3139
3139
|
});
|
|
3140
|
-
|
|
3140
|
+
T ? T(xt) : xt();
|
|
3141
3141
|
function xt() {
|
|
3142
3142
|
Y.cancelled || (!t.data.show && e.parentNode && ((e.parentNode._pending || (e.parentNode._pending = {}))[t.key] = t), u && u(e), G && (Ft(e, r), Ft(e, c), mn(function() {
|
|
3143
3143
|
dt(e, r), Y.cancelled || (Ft(e, o), ot || (Cn(_) ? setTimeout(Y, _) : gn(e, n, Y)));
|
|
@@ -3340,8 +3340,8 @@ var el = function(t) {
|
|
|
3340
3340
|
var g, A = function() {
|
|
3341
3341
|
g();
|
|
3342
3342
|
};
|
|
3343
|
-
yt(o, "afterEnter", A), yt(o, "enterCancelled", A), yt(h, "delayLeave", function(
|
|
3344
|
-
g =
|
|
3343
|
+
yt(o, "afterEnter", A), yt(o, "enterCancelled", A), yt(h, "delayLeave", function(T) {
|
|
3344
|
+
g = T;
|
|
3345
3345
|
});
|
|
3346
3346
|
}
|
|
3347
3347
|
}
|
|
@@ -3607,8 +3607,8 @@ function L(t, s, e, i, a, n, r, o) {
|
|
|
3607
3607
|
if (c.functional) {
|
|
3608
3608
|
c._injectStyles = u;
|
|
3609
3609
|
var h = c.render;
|
|
3610
|
-
c.render = function(
|
|
3611
|
-
return u.call(M), h(
|
|
3610
|
+
c.render = function(T, M) {
|
|
3611
|
+
return u.call(M), h(T, M);
|
|
3612
3612
|
};
|
|
3613
3613
|
} else {
|
|
3614
3614
|
var g = c.beforeCreate;
|
|
@@ -7458,21 +7458,22 @@ const Rp = {
|
|
|
7458
7458
|
}
|
|
7459
7459
|
let t = this;
|
|
7460
7460
|
if (this.$refs.canvasRef.getContext) {
|
|
7461
|
-
let e = 1, i = null;
|
|
7461
|
+
let e = 1, i = null, a;
|
|
7462
7462
|
i = this.$refs.canvasRef.toDataURL("image/jpeg", e);
|
|
7463
|
-
let
|
|
7464
|
-
for (console.log("\u521D\u59CB\u957F\u5EA6",
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
7463
|
+
let n = window.atob(i.split(",")[1]).length;
|
|
7464
|
+
for (console.log("\u521D\u59CB\u957F\u5EA6", n); e >= 0; ) {
|
|
7465
|
+
a = this.$refs.canvasRef.toDataURL("image/jpeg", e);
|
|
7466
|
+
const o = atob(a.split(",")[1]), c = new Array(o.length);
|
|
7467
|
+
for (let T = 0; T < o.length; T++)
|
|
7468
|
+
c[T] = o.charCodeAt(T);
|
|
7469
|
+
const u = new Uint8Array(c), g = new Blob([u]).size, A = g / 1024;
|
|
7470
|
+
if (console.log("Blob Size (KB):", A), g <= 65536)
|
|
7470
7471
|
break;
|
|
7471
7472
|
e -= 0.01;
|
|
7472
7473
|
}
|
|
7473
7474
|
console.log(e, "\u538B\u7F29\u8D28\u91CF"), console.log(window.atob(i.split(",")[1]).length, "\u538B\u7F29\u540E\u5927\u5C0F"), this.signatureImage = i;
|
|
7474
|
-
let
|
|
7475
|
-
|
|
7475
|
+
let r = JSON.parse(localStorage.getItem("signaturesArr")) || [];
|
|
7476
|
+
r.unshift(this.signatureImage), this.$set(this, "historyPics", r.slice(0, 3)), localStorage.setItem("signaturesArr", JSON.stringify(this.historyPics));
|
|
7476
7477
|
return;
|
|
7477
7478
|
} else
|
|
7478
7479
|
uni.canvasToTempFilePath({
|
|
@@ -7529,7 +7530,7 @@ var qp = /* @__PURE__ */ L(
|
|
|
7529
7530
|
Jp,
|
|
7530
7531
|
!1,
|
|
7531
7532
|
jp,
|
|
7532
|
-
"
|
|
7533
|
+
"1130629c",
|
|
7533
7534
|
null,
|
|
7534
7535
|
null
|
|
7535
7536
|
);
|