Skip to content

Commit

Permalink
chore: build
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed May 17, 2024
1 parent b6172dc commit 8491575
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/uni-app-plus/dist/view.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/uni-app-plus/dist/view.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/uni-h5/dist/index.dark.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/uni-h5/dist/index.umd.min.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions packages/uni-mp-alipay/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3286,7 +3286,8 @@ function initVm (VueComponent) {
mpInstance: this
});

if (options.parent) { // 父组件已经初始化,直接初始化子,否则放到父组件的 didMount 中处理
if (options.parent) {
// 父组件已经初始化,直接初始化子,否则放到父组件的 didMount 中处理
// 初始化 vue 实例
this.$vm = new VueComponent(options);
handleRef.call(options.parent.$scope, this);
Expand Down Expand Up @@ -3323,7 +3324,8 @@ function parseComponent (vueComponentOptions, needVueOptions) {
data: initData(vueOptions, Vue.prototype),
props,
didMount () {
if (my.dd) { // 钉钉小程序底层基础库有 bug,组件嵌套使用时,在 didMount 中无法及时调用 props 中的方法
if (my.dd) {
// 钉钉小程序底层基础库有 bug,组件嵌套使用时,在 didMount 中无法及时调用 props 中的方法
setTimeout(() => {
initVm.call(this, VueComponent);
}, 4);
Expand Down Expand Up @@ -3351,6 +3353,10 @@ function parseComponent (vueComponentOptions, needVueOptions) {
}
};

if (vueOptions.options) {
componentOptions.options = vueOptions.options;
}

if (isComponent2) {
componentOptions.onInit = function onInit () {
initVm.call(this, VueComponent);
Expand Down
2 changes: 1 addition & 1 deletion packages/uni-quickapp-native/dist/vue.dev.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/uni-quickapp-native/dist/vue.prod.js

Large diffs are not rendered by default.

0 comments on commit 8491575

Please sign in to comment.