feat:打印和分析管理
This commit is contained in:
@@ -124,10 +124,8 @@ async function getSampleDetail() {
|
||||
let btnLoading = ref(false)
|
||||
function handlePrint() {
|
||||
btnLoading.value = true
|
||||
nx.$print.getPrintTemplateAndPrint(sampleData.value.id, () => {
|
||||
uni.showToast({ title: '已打印', icon: 'success' })
|
||||
btnLoading.value = false
|
||||
})
|
||||
nx.$print.print({ ...sampleData.value, printTemplate: 'returnLabel' })
|
||||
btnLoading.value = false
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user