From 6a21c5b3d21a4177a3128068a527a68397e884a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E8=B6=85?= <943480861@qq.com> Date: Mon, 22 May 2023 13:37:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=9A=E6=97=B6=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 14 +- src/assets/libs/js/BBbundle.js | 828 +------------------------ src/assets/libs/js/vconsole.js | 10 + src/view/tabs/fixed-time.vue | 38 +- src/view/tabs/tabs.vue | 2 +- src/view/timing/timing-sure-delete.vue | 35 +- 6 files changed, 73 insertions(+), 854 deletions(-) create mode 100644 src/assets/libs/js/vconsole.js diff --git a/index.html b/index.html index df8a1bf..8684777 100644 --- a/index.html +++ b/index.html @@ -18,8 +18,20 @@ } Vite + Vue + TS - + + diff --git a/src/assets/libs/js/BBbundle.js b/src/assets/libs/js/BBbundle.js index 7811667..852a61f 100644 --- a/src/assets/libs/js/BBbundle.js +++ b/src/assets/libs/js/BBbundle.js @@ -1,827 +1 @@ -!(function (e) { - const n = window.webpackHotUpdate; - window.webpackHotUpdate = function (e, t) { - !(function (e, n) { - if (!O[e] || !_[e]) { - return; - } - for (const t in ((_[e] = !1), n)) { - Object.prototype.hasOwnProperty.call(n, t) && (h[t] = n[t]); - } - 0 == --b && 0 === w && j(); - })(e, t), - n && n(e, t); - }; - let t, - r = !0, - o = "d3fedebe83da6ec2c70b", - i = {}, - c = [], - a = []; - function d(e) { - const n = H[e]; - if (!n) { - return k; - } - const r = function (r) { - return ( - n.hot.active - ? (H[r] - ? -1 === H[r].parents.indexOf(e) && H[r].parents.push(e) - : ((c = [e]), (t = r)), - -1 === n.children.indexOf(r) && n.children.push(r)) - : (console.warn( - "[HMR] unexpected require(" + r + ") from disposed module " + e - ), - (c = [])), - k(r) - ); - }, - o = function (e) { - return { - configurable: !0, - enumerable: !0, - get: function () { - return k[e]; - }, - set: function (n) { - k[e] = n; - }, - }; - }; - for (const i in k) { - Object.prototype.hasOwnProperty.call(k, i) && - "e" !== i && - "t" !== i && - Object.defineProperty(r, i, o(i)); - } - return ( - (r.e = function (e) { - return ( - "ready" === l && p("prepare"), - w++, - k.e(e).then(n, function (e) { - throw (n(), e); - }) - ); - function n() { - w--, "prepare" === l && (m[e] || E(e), 0 === w && 0 === b && j()); - } - }), - (r.t = function (e, n) { - return 1 & n && (e = r(e)), k.t(e, -2 & n); - }), - r - ); - } - function u(n) { - var r = { - _acceptedDependencies: {}, - _declinedDependencies: {}, - _selfAccepted: !1, - _selfDeclined: !1, - _selfInvalidated: !1, - _disposeHandlers: [], - _main: t !== n, - active: !0, - accept: function (e, n) { - if (void 0 === e) { - r._selfAccepted = !0; - } else if ("function" === typeof e) { - r._selfAccepted = e; - } else if ("object" === typeof e) { - for (let t = 0; t < e.length; t++) { - r._acceptedDependencies[e[t]] = n || function () {}; - } - } else { - r._acceptedDependencies[e] = n || function () {}; - } - }, - decline: function (e) { - if (void 0 === e) { - r._selfDeclined = !0; - } else if ("object" === typeof e) { - for (let n = 0; n < e.length; n++) { - r._declinedDependencies[e[n]] = !0; - } - } else { - r._declinedDependencies[e] = !0; - } - }, - dispose: function (e) { - r._disposeHandlers.push(e); - }, - addDisposeHandler: function (e) { - r._disposeHandlers.push(e); - }, - removeDisposeHandler: function (e) { - const n = r._disposeHandlers.indexOf(e); - n >= 0 && r._disposeHandlers.splice(n, 1); - }, - invalidate: function () { - switch (((this._selfInvalidated = !0), l)) { - case "idle": - ((h = {})[n] = e[n]), p("ready"); - break; - case "ready": - M(n); - break; - case "prepare": - case "check": - case "dispose": - case "apply": - (y = y || []).push(n); - } - }, - check: P, - apply: x, - status: function (e) { - if (!e) { - return l; - } - s.push(e); - }, - addStatusHandler: function (e) { - s.push(e); - }, - removeStatusHandler: function (e) { - const n = s.indexOf(e); - n >= 0 && s.splice(n, 1); - }, - data: i[n], - }; - return (t = void 0), r; - } - var s = [], - l = "idle"; - function p(e) { - l = e; - for (let n = 0; n < s.length; n++) { - s[n].call(null, e); - } - } - var f, - h, - v, - y, - b = 0, - w = 0, - m = {}, - _ = {}, - O = {}; - function g(e) { - return +e + "" === e ? +e : e; - } - function P(e) { - if ("idle" !== l) { - throw new Error("check() is only allowed in idle status"); - } - return ( - (r = e), - p("check"), - ((n = 1e4), - (n = n || 1e4), - new Promise(function (e, t) { - if ("undefined" === typeof XMLHttpRequest) { - return t(new Error("No browser support")); - } - try { - var r = new XMLHttpRequest(), - i = k.p + "" + o + ".hot-update.json"; - r.open("GET", i, !0), (r.timeout = n), r.send(null); - } catch (e) { - return t(e); - } - r.onreadystatechange = function () { - if (4 === r.readyState) { - if (0 === r.status) { - t(new Error("Manifest request to " + i + " timed out.")); - } else if (404 === r.status) { - e(); - } else if (200 !== r.status && 304 !== r.status) { - t(new Error("Manifest request to " + i + " failed.")); - } else { - try { - var n = JSON.parse(r.responseText); - } catch (e) { - return void t(e); - } - e(n); - } - } - }; - })).then(function (e) { - if (!e) { - return p(D() ? "ready" : "idle"), null; - } - (_ = {}), (m = {}), (O = e.c), (v = e.h), p("prepare"); - const n = new Promise(function (e, n) { - f = { resolve: e, reject: n }; - }); - h = {}; - return E(0), "prepare" === l && 0 === w && 0 === b && j(), n; - }) - ); - let n; - } - function E(e) { - O[e] - ? ((_[e] = !0), - b++, - (function (e) { - const n = document.createElement("script"); - (n.charset = "utf-8"), - (n.src = k.p + "" + e + "." + o + ".hot-update.js"), - document.head.appendChild(n); - })(e)) - : (m[e] = !0); - } - function j() { - p("ready"); - const e = f; - if (((f = null), e)) { - if (r) { - Promise.resolve() - .then(function () { - return x(r); - }) - .then( - function (n) { - e.resolve(n); - }, - function (n) { - e.reject(n); - } - ); - } else { - const n = []; - for (const t in h) { - Object.prototype.hasOwnProperty.call(h, t) && n.push(g(t)); - } - e.resolve(n); - } - } - } - function x(n) { - if ("ready" !== l) { - throw new Error("apply() is only allowed in ready status"); - } - return (function n(r) { - let a, d, u, s, l; - function f(e) { - for ( - var n = [e], - t = {}, - r = n.map(function (e) { - return { chain: [e], id: e }; - }); - r.length > 0; - - ) { - const o = r.pop(), - i = o.id, - c = o.chain; - if ((s = H[i]) && (!s.hot._selfAccepted || s.hot._selfInvalidated)) { - if (s.hot._selfDeclined) { - return { type: "self-declined", chain: c, moduleId: i }; - } - if (s.hot._main) { - return { type: "unaccepted", chain: c, moduleId: i }; - } - for (let a = 0; a < s.parents.length; a++) { - const d = s.parents[a], - u = H[d]; - if (u) { - if (u.hot._declinedDependencies[i]) { - return { - type: "declined", - chain: c.concat([d]), - moduleId: i, - parentId: d, - }; - } - -1 === n.indexOf(d) && - (u.hot._acceptedDependencies[i] - ? (t[d] || (t[d] = []), b(t[d], [i])) - : (delete t[d], - n.push(d), - r.push({ chain: c.concat([d]), id: d }))); - } - } - } - } - return { - type: "accepted", - moduleId: e, - outdatedModules: n, - outdatedDependencies: t, - }; - } - function b(e, n) { - for (let t = 0; t < n.length; t++) { - const r = n[t]; - -1 === e.indexOf(r) && e.push(r); - } - } - D(); - const w = {}, - m = [], - _ = {}, - P = function () { - console.warn( - "[HMR] unexpected require(" + j.moduleId + ") to disposed module" - ); - }; - for (const E in h) { - if (Object.prototype.hasOwnProperty.call(h, E)) { - var j; - (l = g(E)), (j = h[E] ? f(l) : { type: "disposed", moduleId: E }); - let x = !1, - M = !1, - I = !1, - S = ""; - switch ( - (j.chain && (S = "\nUpdate propagation: " + j.chain.join(" -> ")), - j.type) - ) { - case "self-declined": - r.onDeclined && r.onDeclined(j), - r.ignoreDeclined || - (x = new Error( - "Aborted because of self decline: " + j.moduleId + S - )); - break; - case "declined": - r.onDeclined && r.onDeclined(j), - r.ignoreDeclined || - (x = new Error( - "Aborted because of declined dependency: " + - j.moduleId + - " in " + - j.parentId + - S - )); - break; - case "unaccepted": - r.onUnaccepted && r.onUnaccepted(j), - r.ignoreUnaccepted || - (x = new Error( - "Aborted because " + l + " is not accepted" + S - )); - break; - case "accepted": - r.onAccepted && r.onAccepted(j), (M = !0); - break; - case "disposed": - r.onDisposed && r.onDisposed(j), (I = !0); - break; - default: - throw new Error("Unexception type " + j.type); - } - if (x) { - return p("abort"), Promise.reject(x); - } - if (M) { - for (l in ((_[l] = h[l]), - b(m, j.outdatedModules), - j.outdatedDependencies)) { - Object.prototype.hasOwnProperty.call(j.outdatedDependencies, l) && - (w[l] || (w[l] = []), b(w[l], j.outdatedDependencies[l])); - } - } - I && (b(m, [j.moduleId]), (_[l] = P)); - } - } - let A, - L = []; - for (d = 0; d < m.length; d++) { - (l = m[d]), - H[l] && - H[l].hot._selfAccepted && - _[l] !== P && - !H[l].hot._selfInvalidated && - L.push({ - module: l, - parents: H[l].parents.slice(), - errorHandler: H[l].hot._selfAccepted, - }); - } - p("dispose"), - Object.keys(O).forEach(function (e) { - !1 === O[e] && - (function (e) { - delete installedChunks[e]; - })(e); - }); - let B, - T, - C = m.slice(); - for (; C.length > 0;) { - if (((l = C.pop()), (s = H[l]))) { - const U = {}, - q = s.hot._disposeHandlers; - for (u = 0; u < q.length; u++) { - (a = q[u])(U); - } - for ( - i[l] = U, s.hot.active = !1, delete H[l], delete w[l], u = 0; - u < s.children.length; - u++ - ) { - const R = H[s.children[u]]; - R && (A = R.parents.indexOf(l)) >= 0 && R.parents.splice(A, 1); - } - } - } - for (l in w) { - if (Object.prototype.hasOwnProperty.call(w, l) && (s = H[l])) { - for (T = w[l], u = 0; u < T.length; u++) { - (B = T[u]), - (A = s.children.indexOf(B)) >= 0 && s.children.splice(A, 1); - } - } - } - p("apply"), void 0 !== v && ((o = v), (v = void 0)); - for (l in ((h = void 0), _)) { - Object.prototype.hasOwnProperty.call(_, l) && (e[l] = _[l]); - } - let z = null; - for (l in w) { - if (Object.prototype.hasOwnProperty.call(w, l) && (s = H[l])) { - T = w[l]; - const G = []; - for (d = 0; d < T.length; d++) { - if (((B = T[d]), (a = s.hot._acceptedDependencies[B]))) { - if (-1 !== G.indexOf(a)) { - continue; - } - G.push(a); - } - } - for (d = 0; d < G.length; d++) { - a = G[d]; - try { - a(T); - } catch (e) { - r.onErrored && - r.onErrored({ - type: "accept-errored", - moduleId: l, - dependencyId: T[d], - error: e, - }), - r.ignoreErrored || z || (z = e); - } - } - } - } - for (d = 0; d < L.length; d++) { - const N = L[d]; - (l = N.module), (c = N.parents), (t = l); - try { - k(l); - } catch (e) { - if ("function" === typeof N.errorHandler) { - try { - N.errorHandler(e); - } catch (n) { - r.onErrored && - r.onErrored({ - type: "self-accept-error-handler-errored", - moduleId: l, - error: n, - originalError: e, - }), - r.ignoreErrored || z || (z = n), - z || (z = e); - } - } else { - r.onErrored && - r.onErrored({ - type: "self-accept-errored", - moduleId: l, - error: e, - }), - r.ignoreErrored || z || (z = e); - } - } - } - if (z) { - return p("fail"), Promise.reject(z); - } - if (y) { - return n(r).then(function (e) { - return ( - m.forEach(function (n) { - e.indexOf(n) < 0 && e.push(n); - }), - e - ); - }); - } - return ( - p("idle"), - new Promise(function (e) { - e(m); - }) - ); - })((n = n || {})); - } - function D() { - if (y) { - return h || (h = {}), y.forEach(M), (y = void 0), !0; - } - } - function M(n) { - Object.prototype.hasOwnProperty.call(h, n) || (h[n] = e[n]); - } - var H = {}; - function k(n) { - if (H[n]) { - return H[n].exports; - } - const t = (H[n] = { - i: n, - l: !1, - exports: {}, - hot: u(n), - parents: ((a = c), (c = []), a), - children: [], - }); - return e[n].call(t.exports, t, t.exports, d(n)), (t.l = !0), t.exports; - } - (k.m = e), - (k.c = H), - (k.d = function (e, n, t) { - k.o(e, n) || Object.defineProperty(e, n, { enumerable: !0, get: t }); - }), - (k.r = function (e) { - "undefined" !== typeof Symbol && - Symbol.toStringTag && - Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), - Object.defineProperty(e, "__esModule", { value: !0 }); - }), - (k.t = function (e, n) { - if ((1 & n && (e = k(e)), 8 & n)) { - return e; - } - if (4 & n && "object" === typeof e && e && e.__esModule) { - return e; - } - const t = Object.create(null); - if ( - (k.r(t), - Object.defineProperty(t, "default", { enumerable: !0, value: e }), - 2 & n && "string" !== typeof e) - ) { - for (const r in e) { - k.d( - t, - r, - function (n) { - return e[n]; - }.bind(null, r) - ); - } - } - return t; - }), - (k.n = function (e) { - const n = - e && e.__esModule - ? function () { - return e.default; - } - : function () { - return e; - }; - return k.d(n, "a", n), n; - }), - (k.o = function (e, n) { - return Object.prototype.hasOwnProperty.call(e, n); - }), - (k.p = ""), - (k.h = function () { - return o; - }), - d(0)((k.s = 0)); -})([ - function (e, n, t) { - "use strict"; - Object.defineProperty(n, "__esModule", { value: !0 }), t(1); - const r = t(2); - new ((function () { - function e() { - this.init(); - } - return ( - (e.prototype.init = function () { - new r.BaiduMapService(this); - }), - e - ); - })())(); - }, - function (e, n) { - !(function (e, n) { - if (!(e.innerWidth > 375)) { - var t = n.documentElement, - r = e.devicePixelRatio || 1; - if ( - ((function e() { - n.body - ? (n.body.style.fontSize = 12 * r + "px") - : n.addEventListener("DOMContentLoaded", e); - })(), - c(), - e.addEventListener("resize", c), - e.addEventListener("pageshow", function (e) { - e.persisted && c(); - }), - r >= 2) - ) { - const o = n.createElement("body"), - i = n.createElement("div"); - (i.style.border = ".5px solid transparent"), - o.appendChild(i), - t.appendChild(o), - 1 === i.offsetHeight && t.classList.add("hairlines"), - t.removeChild(o); - } - } - function c() { - const e = t.clientWidth / 10; - t.style.fontSize = e + "px"; - } - })(window, document); - }, - function (e, n, t) { - "use strict"; - const r = - (this && this.__awaiter) || - function (e, n, t, r) { - return new (t || (t = Promise))(function (o, i) { - function c(e) { - try { - d(r.next(e)); - } catch (e) { - i(e); - } - } - function a(e) { - try { - d(r.throw(e)); - } catch (e) { - i(e); - } - } - function d(e) { - let n; - e.done - ? o(e.value) - : ((n = e.value), - n instanceof t - ? n - : new t(function (e) { - e(n); - })).then(c, a); - } - d((r = r.apply(e, n || [])).next()); - }); - }, - o = - (this && this.__generator) || - function (e, n) { - let t, - r, - o, - i, - c = { - label: 0, - sent: function () { - if (1 & o[0]) { - throw o[1]; - } - return o[1]; - }, - trys: [], - ops: [], - }; - return ( - (i = { next: a(0), throw: a(1), return: a(2) }), - "function" === typeof Symbol && - (i[Symbol.iterator] = function () { - return this; - }), - i - ); - function a(a) { - return function (d) { - return (function (a) { - if (t) { - throw new TypeError("Generator is already executing."); - } - for (; i && ((i = 0), a[0] && (c = 0)), c; ) { - try { - if ( - ((t = 1), - r && - (o = - 2 & a[0] - ? r.return - : a[0] - ? r.throw || ((o = r.return) && o.call(r), 0) - : r.next) && - !(o = o.call(r, a[1])).done) - ) { - return o; - } - switch (((r = 0), o && (a = [2 & a[0], o.value]), a[0])) { - case 0: - case 1: - o = a; - break; - case 4: - return c.label++, { value: a[1], done: !1 }; - case 5: - c.label++, (r = a[1]), (a = [0]); - continue; - case 7: - (a = c.ops.pop()), c.trys.pop(); - continue; - default: - if ( - !((o = c.trys), - (o = o.length > 0 && o[o.length - 1]) || - (6 !== a[0] && 2 !== a[0])) - ) { - c = 0; - continue; - } - if ( - 3 === a[0] && - (!o || (a[1] > o[0] && a[1] < o[3])) - ) { - c.label = a[1]; - break; - } - if (6 === a[0] && c.label < o[1]) { - (c.label = o[1]), (o = a); - break; - } - if (o && c.label < o[2]) { - (c.label = o[2]), c.ops.push(a); - break; - } - o[2] && c.ops.pop(), c.trys.pop(); - continue; - } - a = n.call(e, c); - } catch (e) { - (a = [6, e]), (r = 0); - } finally { - t = o = 0; - } - } - if (5 & a[0]) { - throw a[1]; - } - return { value: a[0] ? a[1] : void 0, done: !0 }; - })([a, d]); - }; - } - }; - Object.defineProperty(n, "__esModule", { value: !0 }), - (n.BaiduMapService = void 0); - const i = (function () { - function e(e) { - (this.GLOBAL = e), this.init(); - } - return ( - (e.prototype.init = function () { - (window.baiduMap = {}), - (window.baiduMap.gpsPointTranslate = this.gpsPointTranslateBdPoint); - }), - (e.prototype.gpsPointTranslateBdPoint = function (e, n) { - return r(this, void 0, void 0, function () { - return o(this, function (t) { - return [ - 2, - new Promise(function (t) { - const r = new BMap.Point(e, n), - o = []; - o.push(r), - new BMap.Convertor().translate(o, 1, 5, function (e) { - 0 === e.status && t(e.points[0]); - }); - }), - ]; - }); - }); - }), - e - ); - })(); - n.BaiduMapService = i; - }, -]); +!function(e){var n=window.webpackHotUpdate;window.webpackHotUpdate=function(e,t){!function(e,n){if(!O[e]||!g[e])return;for(var t in g[e]=!1,n)Object.prototype.hasOwnProperty.call(n,t)&&(h[t]=n[t]);0==--m&&0===b&&x()}(e,t),n&&n(e,t)};var t,r=!0,o="1f4d6f998207853075c2",i={},c=[],d=[];function a(e){var n=H[e];if(!n)return I;var r=function(r){return n.hot.active?(H[r]?-1===H[r].parents.indexOf(e)&&H[r].parents.push(e):(c=[e],t=r),-1===n.children.indexOf(r)&&n.children.push(r)):(console.warn("[HMR] unexpected require("+r+") from disposed module "+e),c=[]),I(r)},o=function(e){return{configurable:!0,enumerable:!0,get:function(){return I[e]},set:function(n){I[e]=n}}};for(var i in I)Object.prototype.hasOwnProperty.call(I,i)&&"e"!==i&&"t"!==i&&Object.defineProperty(r,i,o(i));return r.e=function(e){return"ready"===u&&p("prepare"),b++,I.e(e).then(n,(function(e){throw n(),e}));function n(){b--,"prepare"===u&&(w[e]||j(e),0===b&&0===m&&x())}},r.t=function(e,n){return 1&n&&(e=r(e)),I.t(e,-2&n)},r}function s(n){var r={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:t!==n,active:!0,accept:function(e,n){if(void 0===e)r._selfAccepted=!0;else if("function"==typeof e)r._selfAccepted=e;else if("object"==typeof e)for(var t=0;t=0&&r._disposeHandlers.splice(n,1)},invalidate:function(){switch(this._selfInvalidated=!0,u){case"idle":(h={})[n]=e[n],p("ready");break;case"ready":S(n);break;case"prepare":case"check":case"dispose":case"apply":(v=v||[]).push(n)}},check:E,apply:D,status:function(e){if(!e)return u;l.push(e)},addStatusHandler:function(e){l.push(e)},removeStatusHandler:function(e){var n=l.indexOf(e);n>=0&&l.splice(n,1)},data:i[n]};return t=void 0,r}var l=[],u="idle";function p(e){u=e;for(var n=0;n0;){var o=r.pop(),i=o.id,c=o.chain;if((l=H[i])&&(!l.hot._selfAccepted||l.hot._selfInvalidated)){if(l.hot._selfDeclined)return{type:"self-declined",chain:c,moduleId:i};if(l.hot._main)return{type:"unaccepted",chain:c,moduleId:i};for(var d=0;d ")),x.type){case"self-declined":r.onDeclined&&r.onDeclined(x),r.ignoreDeclined||(D=new Error("Aborted because of self decline: "+x.moduleId+k));break;case"declined":r.onDeclined&&r.onDeclined(x),r.ignoreDeclined||(D=new Error("Aborted because of declined dependency: "+x.moduleId+" in "+x.parentId+k));break;case"unaccepted":r.onUnaccepted&&r.onUnaccepted(x),r.ignoreUnaccepted||(D=new Error("Aborted because "+u+" is not accepted"+k));break;case"accepted":r.onAccepted&&r.onAccepted(x),S=!0;break;case"disposed":r.onDisposed&&r.onDisposed(x),A=!0;break;default:throw new Error("Unexception type "+x.type)}if(D)return p("abort"),Promise.reject(D);if(S)for(u in g[u]=h[u],m(w,x.outdatedModules),x.outdatedDependencies)Object.prototype.hasOwnProperty.call(x.outdatedDependencies,u)&&(b[u]||(b[u]=[]),m(b[u],x.outdatedDependencies[u]));A&&(m(w,[x.moduleId]),g[u]=E)}var M,z=[];for(a=0;a0;)if(u=T.pop(),l=H[u]){var U={},q=l.hot._disposeHandlers;for(s=0;s=0&&C.parents.splice(M,1))}}for(u in b)if(Object.prototype.hasOwnProperty.call(b,u)&&(l=H[u]))for(F=b[u],s=0;s=0&&l.children.splice(M,1);p("apply"),void 0!==y&&(o=y,y=void 0);for(u in h=void 0,g)Object.prototype.hasOwnProperty.call(g,u)&&(e[u]=g[u]);var N=null;for(u in b)if(Object.prototype.hasOwnProperty.call(b,u)&&(l=H[u])){F=b[u];var B=[];for(a=0;a=2){var i=n.createElement("body"),c=n.createElement("div");c.style.border=".5px solid transparent",i.appendChild(c),t.appendChild(i),1===c.offsetHeight&&t.classList.add("hairlines"),t.removeChild(i)}}(window,document)},e.prototype.getFontSize=function(){return+document.getElementsByTagName("html")[0].style["font-size"].replace("px","")},e.prototype.saveFontSize=function(){var e=document.getElementsByTagName("html")[0];this.fontSize=e.style["font-size"]},e.prototype.createFontSize=function(e){document.getElementsByTagName("html")[0].style["font-size"]=e+"px"},e.prototype.restoreFontSize=function(){document.getElementsByTagName("html")[0].style["font-size"]=this.fontSize},e}();n.AmfeFlexibleService=r}]); \ No newline at end of file diff --git a/src/assets/libs/js/vconsole.js b/src/assets/libs/js/vconsole.js new file mode 100644 index 0000000..3faafcb --- /dev/null +++ b/src/assets/libs/js/vconsole.js @@ -0,0 +1,10 @@ +/*! + * vConsole v3.15.0 (https://github.com/Tencent/vConsole) + * + * Tencent is pleased to support the open source community by making vConsole available. + * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. + * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + * http://opensource.org/licenses/MIT + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + */ +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("VConsole",[],n):"object"==typeof exports?exports.VConsole=n():t.VConsole=n()}(this||self,(function(){return function(){var __webpack_modules__={4264:function(t,n,e){t.exports=e(7588)},5036:function(t,n,e){e(1719),e(5677),e(6394),e(5334),e(6969),e(2021),e(8328),e(2129);var o=e(1287);t.exports=o.Promise},2582:function(t,n,e){e(1646),e(6394),e(2004),e(462),e(8407),e(2429),e(1172),e(8288),e(1274),e(8201),e(6626),e(3211),e(9952),e(15),e(9831),e(7521),e(2972),e(6956),e(5222),e(2257);var o=e(1287);t.exports=o.Symbol},8257:function(t,n,e){var o=e(7583),r=e(9212),i=e(5637),a=o.TypeError;t.exports=function(t){if(r(t))return t;throw a(i(t)+" is not a function")}},1186:function(t,n,e){var o=e(7583),r=e(2097),i=e(5637),a=o.TypeError;t.exports=function(t){if(r(t))return t;throw a(i(t)+" is not a constructor")}},9882:function(t,n,e){var o=e(7583),r=e(9212),i=o.String,a=o.TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw a("Can't set "+i(t)+" as a prototype")}},6288:function(t,n,e){var o=e(3649),r=e(3590),i=e(4615),a=o("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:r(null)}),t.exports=function(t){c[a][t]=!0}},4761:function(t,n,e){var o=e(7583),r=e(2447),i=o.TypeError;t.exports=function(t,n){if(r(n,t))return t;throw i("Incorrect invocation")}},2569:function(t,n,e){var o=e(7583),r=e(794),i=o.String,a=o.TypeError;t.exports=function(t){if(r(t))return t;throw a(i(t)+" is not an object")}},5766:function(t,n,e){var o=e(2977),r=e(6782),i=e(1825),a=function(t){return function(n,e,a){var c,u=o(n),s=i(u),l=r(a,s);if(t&&e!=e){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===e)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},4805:function(t,n,e){var o=e(2938),r=e(7386),i=e(5044),a=e(1324),c=e(1825),u=e(4822),s=r([].push),l=function(t){var n=1==t,e=2==t,r=3==t,l=4==t,f=6==t,d=7==t,v=5==t||f;return function(h,p,g,m){for(var _,b,y=a(h),w=i(y),E=o(p,g),L=c(w),T=0,x=m||u,C=n?x(h,L):e||d?x(h,0):void 0;L>T;T++)if((v||T in w)&&(b=E(_=w[T],T,y),t))if(n)C[T]=b;else if(b)switch(t){case 3:return!0;case 5:return _;case 6:return T;case 2:s(C,_)}else switch(t){case 4:return!1;case 7:s(C,_)}return f?-1:r||l?l:C}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},9269:function(t,n,e){var o=e(6544),r=e(3649),i=e(4061),a=r("species");t.exports=function(t){return i>=51||!o((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},4546:function(t,n,e){var o=e(7583),r=e(6782),i=e(1825),a=e(5999),c=o.Array,u=Math.max;t.exports=function(t,n,e){for(var o=i(t),s=r(n,o),l=r(void 0===e?o:e,o),f=c(u(l-s,0)),d=0;s0&&o[0]<4?1:+(o[0]+o[1])),!r&&a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=+o[1]),t.exports=r},5690:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1178:function(t,n,e){var o=e(6544),r=e(4677);t.exports=!o((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)}))},7263:function(t,n,e){var o=e(7583),r=e(6683).f,i=e(57),a=e(1270),c=e(460),u=e(3478),s=e(4451);t.exports=function(t,n){var e,l,f,d,v,h=t.target,p=t.global,g=t.stat;if(e=p?o:g?o[h]||c(h,{}):(o[h]||{}).prototype)for(l in n){if(d=n[l],f=t.noTargetGet?(v=r(e,l))&&v.value:e[l],!s(p?l:h+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),a(e,l,d,t)}}},6544:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1611:function(t,n,e){var o=e(8987),r=Function.prototype,i=r.apply,a=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?a.bind(i):function(){return a.apply(i,arguments)})},2938:function(t,n,e){var o=e(7386),r=e(8257),i=e(8987),a=o(o.bind);t.exports=function(t,n){return r(t),void 0===n?t:i?a(t,n):function(){return t.apply(n,arguments)}}},8987:function(t,n,e){var o=e(6544);t.exports=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8262:function(t,n,e){var o=e(8987),r=Function.prototype.call;t.exports=o?r.bind(r):function(){return r.apply(r,arguments)}},4340:function(t,n,e){var o=e(8494),r=e(2870),i=Function.prototype,a=o&&Object.getOwnPropertyDescriptor,c=r(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!o||o&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},7386:function(t,n,e){var o=e(8987),r=Function.prototype,i=r.bind,a=r.call,c=o&&i.bind(a,a);t.exports=o?function(t){return t&&c(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},5897:function(t,n,e){var o=e(7583),r=e(9212),i=function(t){return r(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(o[t]):o[t]&&o[t][n]}},8272:function(t,n,e){var o=e(3058),r=e(911),i=e(339),a=e(3649)("iterator");t.exports=function(t){if(null!=t)return r(t,a)||r(t,"@@iterator")||i[o(t)]}},6307:function(t,n,e){var o=e(7583),r=e(8262),i=e(8257),a=e(2569),c=e(5637),u=e(8272),s=o.TypeError;t.exports=function(t,n){var e=arguments.length<2?u(t):n;if(i(e))return a(r(e,t));throw s(c(t)+" is not iterable")}},911:function(t,n,e){var o=e(8257);t.exports=function(t,n){var e=t[n];return null==e?void 0:o(e)}},7583:function(t,n,e){var o=function(t){return t&&t.Math==Math&&t};t.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof e.g&&e.g)||function(){return this}()||Function("return this")()},2870:function(t,n,e){var o=e(7386),r=e(1324),i=o({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(r(t),n)}},4639:function(t){t.exports={}},2716:function(t,n,e){var o=e(7583);t.exports=function(t,n){var e=o.console;e&&e.error&&(1==arguments.length?e.error(t):e.error(t,n))}},482:function(t,n,e){var o=e(5897);t.exports=o("document","documentElement")},275:function(t,n,e){var o=e(8494),r=e(6544),i=e(6668);t.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},5044:function(t,n,e){var o=e(7583),r=e(7386),i=e(6544),a=e(9624),c=o.Object,u=r("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?u(t,""):c(t)}:c},9734:function(t,n,e){var o=e(7386),r=e(9212),i=e(1314),a=o(Function.toString);r(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},4402:function(t,n,e){var o=e(794),r=e(57);t.exports=function(t,n){o(n)&&"cause"in n&&r(t,"cause",n.cause)}},2743:function(t,n,e){var o,r,i,a=e(9491),c=e(7583),u=e(7386),s=e(794),l=e(57),f=e(2870),d=e(1314),v=e(9137),h=e(4639),p="Object already initialized",g=c.TypeError,m=c.WeakMap;if(a||d.state){var _=d.state||(d.state=new m),b=u(_.get),y=u(_.has),w=u(_.set);o=function(t,n){if(y(_,t))throw new g(p);return n.facade=t,w(_,t,n),n},r=function(t){return b(_,t)||{}},i=function(t){return y(_,t)}}else{var E=v("state");h[E]=!0,o=function(t,n){if(f(t,E))throw new g(p);return n.facade=t,l(t,E,n),n},r=function(t){return f(t,E)?t[E]:{}},i=function(t){return f(t,E)}}t.exports={set:o,get:r,has:i,enforce:function(t){return i(t)?r(t):o(t,{})},getterFor:function(t){return function(n){var e;if(!s(n)||(e=r(n)).type!==t)throw g("Incompatible receiver, "+t+" required");return e}}}},114:function(t,n,e){var o=e(3649),r=e(339),i=o("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[i]===t)}},4521:function(t,n,e){var o=e(9624);t.exports=Array.isArray||function(t){return"Array"==o(t)}},9212:function(t){t.exports=function(t){return"function"==typeof t}},2097:function(t,n,e){var o=e(7386),r=e(6544),i=e(9212),a=e(3058),c=e(5897),u=e(9734),s=function(){},l=[],f=c("Reflect","construct"),d=/^\s*(?:class|function)\b/,v=o(d.exec),h=!d.exec(s),p=function(t){if(!i(t))return!1;try{return f(s,l,t),!0}catch(t){return!1}},g=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!v(d,u(t))}catch(t){return!0}};g.sham=!0,t.exports=!f||r((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?g:p},4451:function(t,n,e){var o=e(6544),r=e(9212),i=/#|\.prototype\./,a=function(t,n){var e=u[c(t)];return e==l||e!=s&&(r(n)?o(n):!!n)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},794:function(t,n,e){var o=e(9212);t.exports=function(t){return"object"==typeof t?null!==t:o(t)}},6268:function(t){t.exports=!1},5871:function(t,n,e){var o=e(7583),r=e(5897),i=e(9212),a=e(2447),c=e(7786),u=o.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var n=r("Symbol");return i(n)&&a(n.prototype,u(t))}},4026:function(t,n,e){var o=e(7583),r=e(2938),i=e(8262),a=e(2569),c=e(5637),u=e(114),s=e(1825),l=e(2447),f=e(6307),d=e(8272),v=e(7093),h=o.TypeError,p=function(t,n){this.stopped=t,this.result=n},g=p.prototype;t.exports=function(t,n,e){var o,m,_,b,y,w,E,L=e&&e.that,T=!(!e||!e.AS_ENTRIES),x=!(!e||!e.IS_ITERATOR),C=!(!e||!e.INTERRUPTED),O=r(n,L),I=function(t){return o&&v(o,"normal",t),new p(!0,t)},D=function(t){return T?(a(t),C?O(t[0],t[1],I):O(t[0],t[1])):C?O(t,I):O(t)};if(x)o=t;else{if(!(m=d(t)))throw h(c(t)+" is not iterable");if(u(m)){for(_=0,b=s(t);b>_;_++)if((y=D(t[_]))&&l(g,y))return y;return new p(!1)}o=f(t,m)}for(w=o.next;!(E=i(w,o)).done;){try{y=D(E.value)}catch(t){v(o,"throw",t)}if("object"==typeof y&&y&&l(g,y))return y}return new p(!1)}},7093:function(t,n,e){var o=e(8262),r=e(2569),i=e(911);t.exports=function(t,n,e){var a,c;r(t);try{if(!(a=i(t,"return"))){if("throw"===n)throw e;return e}a=o(a,t)}catch(t){c=!0,a=t}if("throw"===n)throw e;if(c)throw a;return r(a),e}},2365:function(t,n,e){"use strict";var o,r,i,a=e(6544),c=e(9212),u=e(3590),s=e(729),l=e(1270),f=e(3649),d=e(6268),v=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(r=s(s(i)))!==Object.prototype&&(o=r):h=!0),null==o||a((function(){var t={};return o[v].call(t)!==t}))?o={}:d&&(o=u(o)),c(o[v])||l(o,v,(function(){return this})),t.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:h}},339:function(t){t.exports={}},1825:function(t,n,e){var o=e(97);t.exports=function(t){return o(t.length)}},2095:function(t,n,e){var o,r,i,a,c,u,s,l,f=e(7583),d=e(2938),v=e(6683).f,h=e(8117).set,p=e(7020),g=e(3256),m=e(6846),_=e(5354),b=f.MutationObserver||f.WebKitMutationObserver,y=f.document,w=f.process,E=f.Promise,L=v(f,"queueMicrotask"),T=L&&L.value;T||(o=function(){var t,n;for(_&&(t=w.domain)&&t.exit();r;){n=r.fn,r=r.next;try{n()}catch(t){throw r?a():i=void 0,t}}i=void 0,t&&t.enter()},p||_||m||!b||!y?!g&&E&&E.resolve?((s=E.resolve(void 0)).constructor=E,l=d(s.then,s),a=function(){l(o)}):_?a=function(){w.nextTick(o)}:(h=d(h,f),a=function(){h(o)}):(c=!0,u=y.createTextNode(""),new b(o).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),t.exports=T||function(t){var n={fn:t,next:void 0};i&&(i.next=n),r||(r=n,a()),i=n}},783:function(t,n,e){var o=e(7583);t.exports=o.Promise},8640:function(t,n,e){var o=e(4061),r=e(6544);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},9491:function(t,n,e){var o=e(7583),r=e(9212),i=e(9734),a=o.WeakMap;t.exports=r(a)&&/native code/.test(i(a))},5084:function(t,n,e){"use strict";var o=e(8257),r=function(t){var n,e;this.promise=new t((function(t,o){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=o})),this.resolve=o(n),this.reject=o(e)};t.exports.f=function(t){return new r(t)}},2764:function(t,n,e){var o=e(8320);t.exports=function(t,n){return void 0===t?arguments.length<2?"":n:o(t)}},3590:function(t,n,e){var o,r=e(2569),i=e(8728),a=e(5690),c=e(4639),u=e(482),s=e(6668),l=e(9137),f=l("IE_PROTO"),d=function(){},v=function(t){return" - \ No newline at end of file + diff --git a/src/view/timing/timing-sure-delete.vue b/src/view/timing/timing-sure-delete.vue index 456fae5..0e26a3c 100644 --- a/src/view/timing/timing-sure-delete.vue +++ b/src/view/timing/timing-sure-delete.vue @@ -15,32 +15,33 @@ diff --git a/src/view/tabs/tabs.vue b/src/view/tabs/tabs.vue index b458494..12b9620 100644 --- a/src/view/tabs/tabs.vue +++ b/src/view/tabs/tabs.vue @@ -1,54 +1,62 @@