diff --git a/packages/uni-app-plus/dist/index.js b/packages/uni-app-plus/dist/index.js index fe7036dd4ca4bce2ae287bec66b878ab2e757bbc..6d8d12c8d07503a4a594a3bb0de126f8025b49e4 100644 --- a/packages/uni-app-plus/dist/index.js +++ b/packages/uni-app-plus/dist/index.js @@ -1284,18 +1284,13 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String, diff --git a/packages/uni-mp-alipay/dist/index.js b/packages/uni-mp-alipay/dist/index.js index e14ad56dfe33389b3cb2c7bd0e78854e5c46f8e2..3a5388899cd4effd701750aaa369ce28d3e1b2bc 100644 --- a/packages/uni-mp-alipay/dist/index.js +++ b/packages/uni-mp-alipay/dist/index.js @@ -2088,18 +2088,25 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; + { + { + properties.virtualHostStyle = { + type: null, + value: '' + }; + properties.virtualHostClass = { + type: null, + value: '' + }; + } + } // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String, diff --git a/packages/uni-mp-baidu/dist/index.js b/packages/uni-mp-baidu/dist/index.js index 7a0be15c7c348d1ef4dc9ff8e1e62d9c4f784b15..9a4d54f63720cbbcd37c535208744dd026570c19 100644 --- a/packages/uni-mp-baidu/dist/index.js +++ b/packages/uni-mp-baidu/dist/index.js @@ -1747,18 +1747,13 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String, diff --git a/packages/uni-mp-jd/dist/index.js b/packages/uni-mp-jd/dist/index.js index d987152d833e9c6fcec953771cf419ee5a9ecc46..258139b405f955e4b61ad9408d0655a868d6c243 100644 --- a/packages/uni-mp-jd/dist/index.js +++ b/packages/uni-mp-jd/dist/index.js @@ -1348,18 +1348,13 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String, diff --git a/packages/uni-mp-kuaishou/dist/index.js b/packages/uni-mp-kuaishou/dist/index.js index 5956ee0a72a45323dd288f5e02a7baf64f692438..2a7f3482f38095b337aa5499f17d19d6018c8c30 100644 --- a/packages/uni-mp-kuaishou/dist/index.js +++ b/packages/uni-mp-kuaishou/dist/index.js @@ -1516,18 +1516,13 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String, diff --git a/packages/uni-mp-lark/dist/index.js b/packages/uni-mp-lark/dist/index.js index d524659d16ccab110ecdd99a8ddd5a9145906aea..3ff5f99cc3ff459cccf95588506b7ee8d1d4aa09 100644 --- a/packages/uni-mp-lark/dist/index.js +++ b/packages/uni-mp-lark/dist/index.js @@ -1566,18 +1566,20 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; + { + // 用于字节跳动小程序模拟抽象节点 + properties.generic = { + type: Object, + value: null + }; + } // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String, diff --git a/packages/uni-mp-qq/dist/index.js b/packages/uni-mp-qq/dist/index.js index cd12873c4c95bb1800e69bb7c02850927c0a3532..71ef7341b41fe10411c64ef8ae74939057db8c6e 100644 --- a/packages/uni-mp-qq/dist/index.js +++ b/packages/uni-mp-qq/dist/index.js @@ -1677,18 +1677,13 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String, diff --git a/packages/uni-mp-toutiao/dist/index.js b/packages/uni-mp-toutiao/dist/index.js index 964624bc89825c5f95560ed52fd89dbec1dc125b..dc0d020b97d87980bef236449b05605eff154ed8 100644 --- a/packages/uni-mp-toutiao/dist/index.js +++ b/packages/uni-mp-toutiao/dist/index.js @@ -1773,18 +1773,20 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; + { + // 用于字节跳动小程序模拟抽象节点 + properties.generic = { + type: Object, + value: null + }; + } // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String, diff --git a/packages/uni-mp-weixin/dist/index.js b/packages/uni-mp-weixin/dist/index.js index c51a6c4c85c70379f90a3a4ad3a4fb967c4bb2b7..2b1b202f26233f833ffdcd0317d6f89b6144273c 100644 --- a/packages/uni-mp-weixin/dist/index.js +++ b/packages/uni-mp-weixin/dist/index.js @@ -1485,18 +1485,25 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; + { + if ( options.virtualHost) { + properties.virtualHostStyle = { + type: null, + value: '' + }; + properties.virtualHostClass = { + type: null, + value: '' + }; + } + } // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String, @@ -2175,7 +2182,7 @@ function parseBaseComponent (vueComponentOptions, { options, data: initData(vueOptions, Vue.prototype), behaviors: initBehaviors(vueOptions, initBehavior), - properties: initProperties(vueOptions.props, false, vueOptions.__file), + properties: initProperties(vueOptions.props, false, vueOptions.__file, options), lifetimes: { attached () { const properties = this.properties; diff --git a/packages/uni-mp-xhs/dist/index.js b/packages/uni-mp-xhs/dist/index.js index 0d71da7ff434d9896cdd0421e593f2beb9302777..834a431ca0f6ac2f407605108e110482bede0018 100644 --- a/packages/uni-mp-xhs/dist/index.js +++ b/packages/uni-mp-xhs/dist/index.js @@ -1346,18 +1346,13 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String, diff --git a/packages/uni-quickapp-webview/dist/index.js b/packages/uni-quickapp-webview/dist/index.js index e115d4693137be85a6324fc3dc7b9277c572aa81..db29573a51cba0d7c410aa21d0b5aaa9b30fb697 100644 --- a/packages/uni-quickapp-webview/dist/index.js +++ b/packages/uni-quickapp-webview/dist/index.js @@ -1517,18 +1517,13 @@ function parsePropType (key, type, defaultValue, file) { return type } -function initProperties (props, isBehavior = false, file = '') { +function initProperties (props, isBehavior = false, file = '', options) { const properties = {}; if (!isBehavior) { properties.vueId = { type: String, value: '' }; - // 用于字节跳动小程序模拟抽象节点 - properties.generic = { - type: Object, - value: null - }; // scopedSlotsCompiler auto properties.scopedSlotsCompiler = { type: String,