提交 7abe1d0b 编写于 作者: Q qiang

fix(App): openDocument

上级 5bf61608
......@@ -11,5 +11,5 @@ export function openDocument ({
const successCallback = warpPlusSuccessCallback(callbackId, 'saveFile')
const errorCallback = warpPlusErrorCallback(callbackId, 'saveFile')
plus.runtime.openFile(getRealPath(filePath), undefined, errorCallback, successCallback)
plus.runtime.openDocument(getRealPath(filePath), undefined, successCallback, errorCallback)
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册