隐患详情重新设计,检查计划重新设计成做题排查式
This commit is contained in:
59
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
59
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
@@ -784,6 +784,10 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
||||
}
|
||||
resetScheduling();
|
||||
}
|
||||
function getDepFromReactive(object, key) {
|
||||
var _a;
|
||||
return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);
|
||||
}
|
||||
const isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
|
||||
const builtInSymbols = new Set(
|
||||
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol)
|
||||
@@ -1501,6 +1505,38 @@ const shallowUnwrapHandlers = {
|
||||
function proxyRefs(objectWithRefs) {
|
||||
return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);
|
||||
}
|
||||
function toRefs(object) {
|
||||
if (!isProxy(object)) {
|
||||
warn$2(`toRefs() expects a reactive object but received a plain one.`);
|
||||
}
|
||||
const ret = isArray$1(object) ? new Array(object.length) : {};
|
||||
for (const key in object) {
|
||||
ret[key] = propertyToRef(object, key);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
class ObjectRefImpl {
|
||||
constructor(_object, _key, _defaultValue) {
|
||||
this._object = _object;
|
||||
this._key = _key;
|
||||
this._defaultValue = _defaultValue;
|
||||
this.__v_isRef = true;
|
||||
}
|
||||
get value() {
|
||||
const val = this._object[this._key];
|
||||
return val === void 0 ? this._defaultValue : val;
|
||||
}
|
||||
set value(newVal) {
|
||||
this._object[this._key] = newVal;
|
||||
}
|
||||
get dep() {
|
||||
return getDepFromReactive(toRaw(this._object), this._key);
|
||||
}
|
||||
}
|
||||
function propertyToRef(source, key, defaultValue) {
|
||||
const val = source[key];
|
||||
return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue);
|
||||
}
|
||||
const stack = [];
|
||||
function pushWarningContext(vnode) {
|
||||
stack.push(vnode);
|
||||
@@ -7103,9 +7139,9 @@ function isConsoleWritable() {
|
||||
return isWritable;
|
||||
}
|
||||
function initRuntimeSocketService() {
|
||||
const hosts = "192.168.1.144,127.0.0.1,172.17.192.1";
|
||||
const hosts = "192.168.1.144,127.0.0.1,172.22.80.1";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_Capuq2";
|
||||
const id = "mp-weixin_VsFItf";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
@@ -8059,11 +8095,26 @@ const onShow = /* @__PURE__ */ createLifeCycleHook(
|
||||
1 | 2
|
||||
/* HookFlags.PAGE */
|
||||
);
|
||||
const onHide = /* @__PURE__ */ createLifeCycleHook(
|
||||
ON_HIDE,
|
||||
1 | 2
|
||||
/* HookFlags.PAGE */
|
||||
);
|
||||
const onLoad = /* @__PURE__ */ createLifeCycleHook(
|
||||
ON_LOAD,
|
||||
2
|
||||
/* HookFlags.PAGE */
|
||||
);
|
||||
const onReady = /* @__PURE__ */ createLifeCycleHook(
|
||||
ON_READY,
|
||||
2
|
||||
/* HookFlags.PAGE */
|
||||
);
|
||||
const onBackPress = /* @__PURE__ */ createLifeCycleHook(
|
||||
ON_BACK_PRESS,
|
||||
2
|
||||
/* HookFlags.PAGE */
|
||||
);
|
||||
const onReachBottom = /* @__PURE__ */ createLifeCycleHook(
|
||||
ON_REACH_BOTTOM,
|
||||
2
|
||||
@@ -8756,10 +8807,13 @@ exports.n = n;
|
||||
exports.nextTick$1 = nextTick$1;
|
||||
exports.o = o;
|
||||
exports.objToStyle = objToStyle;
|
||||
exports.onBackPress = onBackPress;
|
||||
exports.onBeforeMount = onBeforeMount;
|
||||
exports.onHide = onHide;
|
||||
exports.onLoad = onLoad;
|
||||
exports.onMounted = onMounted;
|
||||
exports.onReachBottom = onReachBottom;
|
||||
exports.onReady = onReady;
|
||||
exports.onShow = onShow;
|
||||
exports.onUnmounted = onUnmounted;
|
||||
exports.p = p;
|
||||
@@ -8771,6 +8825,7 @@ exports.s = s;
|
||||
exports.signatureProps = signatureProps;
|
||||
exports.sr = sr;
|
||||
exports.t = t;
|
||||
exports.toRefs = toRefs;
|
||||
exports.unref = unref;
|
||||
exports.useTranslate = useTranslate;
|
||||
exports.uuid = uuid;
|
||||
|
||||
Reference in New Issue
Block a user