diff --git a/js/accessory/child/accessory_store_detail.js b/js/accessory/child/accessory_store_detail.js index 8913926..d7c4818 100644 --- a/js/accessory/child/accessory_store_detail.js +++ b/js/accessory/child/accessory_store_detail.js @@ -321,4 +321,16 @@ function downLoadFile(obj) { console.log(obj); let url = dataUrl + "backstage/export/download?fileId=" + obj.id; downLoadFileUtil(url, obj.fileName, null); +} + +// 打印 +function print() { + Print('#body', { + onStart: function () { + console.log('onStart', new Date()) + }, + onEnd: function () { + console.log('onEnd', new Date()) + } + }) } \ No newline at end of file diff --git a/page/accessory/child/accessory_store_detail.html b/page/accessory/child/accessory_store_detail.html index dd8a583..7df1a09 100644 --- a/page/accessory/child/accessory_store_detail.html +++ b/page/accessory/child/accessory_store_detail.html @@ -31,7 +31,7 @@ } -
+