Browse Source

Merge branch 'dev/v4.8.29_yf' of qmx/jy into feature/v4.8.29

yangfeng 2 năm trước cách đây
mục cha
commit
5a8d269e8b
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      src/web/staticres/js/selector/no-data-pc.js

+ 5 - 1
src/web/staticres/js/selector/no-data-pc.js

@@ -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'
         }
     }
 }