You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
417 B
26 lines
417 B
Component({
|
|
externalClasses: ['l-class'],
|
|
options: {
|
|
addGlobalClass: true
|
|
},
|
|
properties: {
|
|
name: String,
|
|
color: {
|
|
type: String,
|
|
value: '#3963bc'
|
|
},
|
|
size: {
|
|
type: String,
|
|
value: '40'
|
|
},
|
|
},
|
|
|
|
ready: function () {
|
|
if (!this.properties.name) {
|
|
console.error('请传入Icon组件的name属性');
|
|
}
|
|
},
|
|
methods: {
|
|
}
|
|
});
|