@dcloudio/uni-quickapp-webview 3.0.0-alpha-3030720220111003 → 3.0.0-alpha-3030720220111004
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.mp.esm.js +4 -21
- package/package.json +5 -5
package/dist/uni.mp.esm.js
CHANGED
|
@@ -459,9 +459,6 @@ function initLocale(appVm) {
|
|
|
459
459
|
});
|
|
460
460
|
}
|
|
461
461
|
|
|
462
|
-
function initBehavior(options) {
|
|
463
|
-
return Behavior(options);
|
|
464
|
-
}
|
|
465
462
|
function initVueIds(vueIds, mpInstance) {
|
|
466
463
|
if (!vueIds) {
|
|
467
464
|
return;
|
|
@@ -707,10 +704,8 @@ function hasPropsChanged(prevProps, nextProps, checkLen = true) {
|
|
|
707
704
|
}
|
|
708
705
|
return false;
|
|
709
706
|
}
|
|
710
|
-
function initBehaviors(vueOptions
|
|
707
|
+
function initBehaviors(vueOptions) {
|
|
711
708
|
const vueBehaviors = vueOptions.behaviors;
|
|
712
|
-
const vueExtends = vueOptions.extends;
|
|
713
|
-
const vueMixins = vueOptions.mixins;
|
|
714
709
|
let vueProps = vueOptions.props;
|
|
715
710
|
if (!vueProps) {
|
|
716
711
|
vueOptions.props = vueProps = [];
|
|
@@ -737,23 +732,11 @@ function initBehaviors(vueOptions, initBehavior) {
|
|
|
737
732
|
}
|
|
738
733
|
});
|
|
739
734
|
}
|
|
740
|
-
if (vueExtends && vueExtends.props) {
|
|
741
|
-
const behavior = {};
|
|
742
|
-
behaviors.push(initBehavior(behavior));
|
|
743
|
-
}
|
|
744
|
-
if (isArray(vueMixins)) {
|
|
745
|
-
vueMixins.forEach((vueMixin) => {
|
|
746
|
-
if (vueMixin.props) {
|
|
747
|
-
const behavior = {};
|
|
748
|
-
behaviors.push(initBehavior(behavior));
|
|
749
|
-
}
|
|
750
|
-
});
|
|
751
|
-
}
|
|
752
735
|
return behaviors;
|
|
753
736
|
}
|
|
754
|
-
function applyOptions(componentOptions, vueOptions
|
|
737
|
+
function applyOptions(componentOptions, vueOptions) {
|
|
755
738
|
componentOptions.data = initData();
|
|
756
|
-
componentOptions.behaviors = initBehaviors(vueOptions
|
|
739
|
+
componentOptions.behaviors = initBehaviors(vueOptions);
|
|
757
740
|
}
|
|
758
741
|
|
|
759
742
|
function parseComponent(vueOptions, { parse, mocks, isPage, initRelation, handleLink, initLifetimes, }) {
|
|
@@ -785,7 +768,7 @@ function parseComponent(vueOptions, { parse, mocks, isPage, initRelation, handle
|
|
|
785
768
|
},
|
|
786
769
|
};
|
|
787
770
|
if (__VUE_OPTIONS_API__) {
|
|
788
|
-
applyOptions(mpComponentOptions, vueOptions
|
|
771
|
+
applyOptions(mpComponentOptions, vueOptions);
|
|
789
772
|
}
|
|
790
773
|
initProps(mpComponentOptions);
|
|
791
774
|
initPropsObserver(mpComponentOptions);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-quickapp-webview",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3030720220111004",
|
|
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.26"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@dcloudio/uni-cli-shared": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-mp-vite": "3.0.0-alpha-
|
|
30
|
-
"@dcloudio/uni-mp-vue": "3.0.0-alpha-
|
|
31
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
28
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3030720220111004",
|
|
29
|
+
"@dcloudio/uni-mp-vite": "3.0.0-alpha-3030720220111004",
|
|
30
|
+
"@dcloudio/uni-mp-vue": "3.0.0-alpha-3030720220111004",
|
|
31
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3030720220111004",
|
|
32
32
|
"@vue/shared": "3.2.26"
|
|
33
33
|
}
|
|
34
34
|
}
|