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.
32 lines
737 B
32 lines
737 B
define([
|
|
'text!./index.html',
|
|
'css!./index.css'
|
|
], function(html) {
|
|
return {
|
|
props: {
|
|
materialList: {
|
|
type: Array,
|
|
default: function () {
|
|
return [];
|
|
}
|
|
},
|
|
typeSetting: {
|
|
type: Number,
|
|
default: 2
|
|
},
|
|
allLink: {
|
|
type: String,
|
|
default: 'javascript:'
|
|
},
|
|
cellLink: {
|
|
type: String,
|
|
default: 'javascript:'
|
|
},
|
|
materialTitle: {
|
|
type: String,
|
|
default: '资料下载'
|
|
}
|
|
},
|
|
template: html
|
|
};
|
|
}); |