@dcloudio/uni-quickapp-webview 3.0.0-alpha-3040420220402002 → 3.0.0-alpha-3040420220402005

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.
@@ -406,6 +406,7 @@ function parseApp(instance, parseAppOptions) {
406
406
  globalData: (instance.$options && instance.$options.globalData) || {},
407
407
  $vm: instance,
408
408
  onLaunch(options) {
409
+ this.$vm = instance; // 飞书小程序可能会把 AppOptions 序列化,导致 $vm 对象部分属性丢失
409
410
  const ctx = internalInstance.ctx;
410
411
  if (this.$vm && ctx.$scope) {
411
412
  // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-quickapp-webview",
3
- "version": "3.0.0-alpha-3040420220402002",
3
+ "version": "3.0.0-alpha-3040420220402005",
4
4
  "description": "uni-app quickapp-webview",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -25,10 +25,10 @@
25
25
  "@vue/compiler-core": "3.2.31"
26
26
  },
27
27
  "dependencies": {
28
- "@dcloudio/uni-cli-shared": "3.0.0-alpha-3040420220402002",
29
- "@dcloudio/uni-mp-vite": "3.0.0-alpha-3040420220402002",
30
- "@dcloudio/uni-mp-vue": "3.0.0-alpha-3040420220402002",
31
- "@dcloudio/uni-shared": "3.0.0-alpha-3040420220402002",
28
+ "@dcloudio/uni-cli-shared": "3.0.0-alpha-3040420220402005",
29
+ "@dcloudio/uni-mp-vite": "3.0.0-alpha-3040420220402005",
30
+ "@dcloudio/uni-mp-vue": "3.0.0-alpha-3040420220402005",
31
+ "@dcloudio/uni-shared": "3.0.0-alpha-3040420220402005",
32
32
  "@vue/shared": "3.2.31"
33
33
  }
34
34
  }