|
@@ -4,7 +4,7 @@
|
|
|
// <div class="tip-text"><p>{{ tipText }}</p></div>
|
|
|
// </div>
|
|
|
// `
|
|
|
-var noDataComponentTemplate = '<div class="no-data"><el-image src="/images/pc_12.png"></el-image><div class="tip-text"><p>{{ tipText }}</p></div></div>'
|
|
|
+var noDataComponentTemplate = '<div class="no-data"><el-image :src="images"></el-image><div class="tip-text"><p>{{ tipText }}</p></div></div>'
|
|
|
var noDataComponent = {
|
|
|
name: 'no-data-pc',
|
|
|
template: noDataComponentTemplate,
|
|
@@ -12,6 +12,10 @@ var noDataComponent = {
|
|
|
tipText: {
|
|
|
type: String,
|
|
|
default: '暂无数据'
|
|
|
+ },
|
|
|
+ images: {
|
|
|
+ type: String,
|
|
|
+ default: '/common-module/public/image/jy-back.png'
|
|
|
}
|
|
|
}
|
|
|
}
|