提交 af417fd0 编写于 作者: Q qiang

chore: build

上级 74151356
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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;
......
......@@ -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,
......
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册