提交 1239b223 编写于 作者: X xiongqiao 提交者: xiongqiao3

fixed 8c010e52 from https://gitee.com/xiongqiao3/docs/pulls/23730

打印整改接口文档代码告警 Signed-off-by:xiongqiao3@huawei.com
Signed-off-by: Nxiongqiao <xiongqiao3@huawei.com>
上级 491335a8
......@@ -178,7 +178,7 @@ import print from '@ohos.print';
let file = ['file://data/print/a.png', 'file://data/print/b.png'];
// 或者传入fd
// let file = ['fd://1', 'fd://2'];
print.print(file).then((printTask) => {
print.print(file).then((printTask: print.PrintTask) => {
printTask.on('succeed', () => {
console.log('print state is succeed')
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册