@dcloudio/uni-mp-vue 3.0.0-alpha-3060420220922001 → 3.0.0-alpha-3060420220922003

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.
@@ -1,6 +1,6 @@
1
- import { extend, isObject, toRawType, def, hasChanged, isArray, isString, isFunction, isPromise, remove, EMPTY_OBJ, toHandlerKey, camelize, capitalize, hasOwn, hyphenate, isReservedProp, normalizeClass, normalizeStyle, isOn, toTypeString, NOOP, isMap, isIntegerKey, isSet, isPlainObject, makeMap, invokeArrayFns, isBuiltInDirective, NO, isSymbol, toNumber, EMPTY_ARR, isModelListener, toDisplayString } from '@vue/shared';
1
+ import { isRootHook, getValueByDataPath, ON_ERROR, UniLifecycleHooks, invokeCreateErrorHandler, dynamicSlotName } from '@dcloudio/uni-shared';
2
+ import { extend, isObject, def, hasChanged, isArray, isString, isFunction, isPromise, remove, EMPTY_OBJ, toHandlerKey, camelize, capitalize, hasOwn, hyphenate, isReservedProp, toRawType, normalizeClass, normalizeStyle, isOn, toTypeString, NOOP, isMap, isIntegerKey, isSet, isPlainObject, makeMap, invokeArrayFns, NO, isSymbol, toNumber, isBuiltInDirective, EMPTY_ARR, isModelListener, toDisplayString } from '@vue/shared';
2
3
  export { EMPTY_OBJ, camelize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';
3
- import { isRootHook, getValueByDataPath, ON_ERROR, UniLifecycleHooks, dynamicSlotName } from '@dcloudio/uni-shared';
4
4
 
5
5
  function warn(msg, ...args) {
6
6
  console.warn(`[Vue warn] ${msg}`, ...args);
@@ -5353,9 +5353,7 @@ function uniIdMixin(globalProperties) {
5353
5353
 
5354
5354
  function initApp(app) {
5355
5355
  const appConfig = app._context.config;
5356
- if (isFunction(app._component.onError)) {
5357
- appConfig.errorHandler = createErrorHandler(app);
5358
- }
5356
+ appConfig.errorHandler = invokeCreateErrorHandler(app, createErrorHandler);
5359
5357
  initOptionMergeStrategies(appConfig.optionMergeStrategies);
5360
5358
  const globalProperties = appConfig.globalProperties;
5361
5359
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-mp-vue",
3
- "version": "3.0.0-alpha-3060420220922001",
3
+ "version": "3.0.0-alpha-3060420220922003",
4
4
  "description": "@dcloudio/uni-mp-vue",
5
5
  "main": "dist/vue.runtime.esm.js",
6
6
  "module": "dist/vue.runtime.esm.js",
@@ -19,10 +19,10 @@
19
19
  },
20
20
  "gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
21
21
  "dependencies": {
22
- "@dcloudio/uni-shared": "3.0.0-alpha-3060420220922001",
22
+ "@dcloudio/uni-shared": "3.0.0-alpha-3060420220922003",
23
23
  "@vue/shared": "3.2.39"
24
24
  },
25
25
  "devDependencies": {
26
- "@dcloudio/uni-mp-vue": "3.0.0-alpha-3060420220922001"
26
+ "@dcloudio/uni-mp-vue": "3.0.0-alpha-3060420220922003"
27
27
  }
28
28
  }