@dcloudio/uni-app-plus 3.0.0-alpha-4020520240808001 → 3.0.0-alpha-4020620240822001

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.
package/dist/uni.vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { invokeArrayFns, isUniLifecycleHook, ON_LOAD, ON_SHOW, LINEFEED, RENDERJS_MODULES, formatLog, WXS_PROTOCOL, WXS_MODULES, UniLifecycleHooks, ON_ERROR, invokeCreateErrorHandler, invokeCreateVueAppHook } from '@dcloudio/uni-shared';
1
+ import { invokeArrayFns, isUniLifecycleHook, decodedQuery, ON_LOAD, ON_SHOW, LINEFEED, RENDERJS_MODULES, formatLog, WXS_PROTOCOL, WXS_MODULES, UniLifecycleHooks, ON_ERROR, invokeCreateErrorHandler, invokeCreateVueAppHook } from '@dcloudio/uni-shared';
2
2
  import { isString, isArray, isFunction } from '@vue/shared';
3
3
  import { injectHook } from 'vue';
4
4
 
@@ -71,7 +71,9 @@ function initHooks(options, instance, publicThis) {
71
71
  instance.__isVisible = true;
72
72
  // 直接触发页面 onLoad、onShow 组件内的 onLoad 和 onShow 在注册时,直接触发一次
73
73
  try {
74
- const query = instance.attrs.__pageQuery;
74
+ let query = instance.attrs.__pageQuery;
75
+ // onLoad 的 query 进行 decode
76
+ if (false) ;
75
77
  if ('app' === 'app' && false) ;
76
78
  invokeHook(publicThis, ON_LOAD, query);
77
79
  delete instance.attrs.__pageQuery;