提交 cf8e4669 编写于 作者: Q qiang

chore: build app vue

上级 0084cf94
......@@ -1383,6 +1383,8 @@ function normalizeStyle(value) {
styleObject[key] = value;
});
return normalizeStyle$1(styleObject);
} else if (isString(value)) {
return parseStringStyle(value);
} else if (isArray(value)) {
var res = {};
for (var i = 0; i < value.length; i++) {
......@@ -1699,23 +1701,30 @@ var flushIndex = 0;
var pendingPostFlushCbs = [];
var activePostFlushCbs = null;
var postFlushIndex = 0;
var resolvedPromise = /* @__PURE__ */Promise.resolve();
var iOSPromise = {
then(callback) {
setTimeout(() => callback(), 0);
}
};
var resolvedPromise = iOSPromise;
var currentFlushPromise = null;
var RECURSION_LIMIT = 100;
function nextTick(fn) {
var instance = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstance();
var promise = currentFlushPromise || resolvedPromise;
var current = currentFlushPromise === null || instance === null ? promise : promise.then(() => {
return new Promise(resolve => {
if (instance === null) {
resolve();
} else {
instance.$waitNativeRender(() => {
var current = currentFlushPromise === null || instance === null ? promise : {
then(resolve) {
promise.then(() => {
if (instance === null) {
resolve();
});
}
});
});
} else {
instance.$waitNativeRender(() => {
resolve();
});
}
});
}
};
return fn ? current.then(this ? fn.bind(this) : fn) : current;
}
function findInsertionIndex(id) {
......
......@@ -1274,6 +1274,8 @@ function normalizeStyle(value) {
styleObject[key] = value;
});
return normalizeStyle$1(styleObject);
} else if (isString(value)) {
return parseStringStyle(value);
} else if (isArray(value)) {
var res = {};
for (var i = 0; i < value.length; i++) {
......@@ -1566,22 +1568,29 @@ var flushIndex = 0;
var pendingPostFlushCbs = [];
var activePostFlushCbs = null;
var postFlushIndex = 0;
var resolvedPromise = /* @__PURE__ */Promise.resolve();
var iOSPromise = {
then(callback) {
setTimeout(() => callback(), 0);
}
};
var resolvedPromise = iOSPromise;
var currentFlushPromise = null;
function nextTick(fn) {
var instance = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstance();
var promise = currentFlushPromise || resolvedPromise;
var current = currentFlushPromise === null || instance === null ? promise : promise.then(() => {
return new Promise(resolve => {
if (instance === null) {
resolve();
} else {
instance.$waitNativeRender(() => {
var current = currentFlushPromise === null || instance === null ? promise : {
then(resolve) {
promise.then(() => {
if (instance === null) {
resolve();
});
}
});
});
} else {
instance.$waitNativeRender(() => {
resolve();
});
}
});
}
};
return fn ? current.then(this ? fn.bind(this) : fn) : current;
}
function findInsertionIndex(id) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册