提交 326633e6 编写于 作者: fxy060608's avatar fxy060608

chore: merge

...@@ -17946,9 +17946,11 @@ class UniPageNode extends UniNode { ...@@ -17946,9 +17946,11 @@ class UniPageNode extends UniNode {
} }
} }
else { else {
if ((process.env.NODE_ENV !== 'production')) { // 部分手机上,create 和 insert 可能不在同一批次,被分批发送
console.error(formatLog(`Insert`, action, 'not found createAction')); this.updateActions.push(action);
} // if ((process.env.NODE_ENV !== 'production')) {
// console.error(formatLog(`Insert`, action, 'not found createAction'))
// }
} }
break; break;
} }
......
...@@ -212,9 +212,11 @@ export default class UniPageNode extends UniNode implements IUniPageNode { ...@@ -212,9 +212,11 @@ export default class UniPageNode extends UniNode implements IUniPageNode {
createAction[5] = extras as UniNodeJSON createAction[5] = extras as UniNodeJSON
} }
} else { } else {
if (__DEV__) { // 部分手机上,create 和 insert 可能不在同一批次,被分批发送
console.error(formatLog(`Insert`, action, 'not found createAction')) this.updateActions.push(action)
} // if (__DEV__) {
// console.error(formatLog(`Insert`, action, 'not found createAction'))
// }
} }
break break
} }
......
...@@ -14,6 +14,7 @@ import { ...@@ -14,6 +14,7 @@ import {
formatLog, formatLog,
ACTION_TYPE_PAGE_SCROLL, ACTION_TYPE_PAGE_SCROLL,
ACTION_TYPE_ADD_WXS_EVENT, ACTION_TYPE_ADD_WXS_EVENT,
ACTION_TYPE_INSERT,
} from '@dcloudio/uni-shared' } from '@dcloudio/uni-shared'
import { UniNodeJSONMinify } from 'packages/uni-shared/src/vdom/Node' import { UniNodeJSONMinify } from 'packages/uni-shared/src/vdom/Node'
import { ACTION_TYPE_DICT, DictAction, Dictionary } from '../../../constants' import { ACTION_TYPE_DICT, DictAction, Dictionary } from '../../../constants'
...@@ -64,8 +65,8 @@ function onPageUpdateSync(actions: (PageAction | DictAction)[]) { ...@@ -64,8 +65,8 @@ function onPageUpdateSync(actions: (PageAction | DictAction)[]) {
action[4], action[4],
decodeNodeJson(getDict, action[5] as UniNodeJSONMinify) decodeNodeJson(getDict, action[5] as UniNodeJSONMinify)
) )
// case ACTION_TYPE_INSERT: case ACTION_TYPE_INSERT:
// return $(action[1]).insert(action[2], action[3]) return $(action[1]).insert(action[2], action[3])
case ACTION_TYPE_REMOVE: case ACTION_TYPE_REMOVE:
return $(action[1]).remove() return $(action[1]).remove()
case ACTION_TYPE_SET_ATTRIBUTE: case ACTION_TYPE_SET_ATTRIBUTE:
......
...@@ -122,7 +122,7 @@ export default defineConfig({ ...@@ -122,7 +122,7 @@ export default defineConfig({
build: { build: {
target: 'es2015', target: 'es2015',
cssTarget, cssTarget,
minify: true, minify: false,
lib: { lib: {
name: 'uni-app-view', name: 'uni-app-view',
fileName: 'uni-app-view', fileName: 'uni-app-view',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册