111
This commit is contained in:
@@ -458,16 +458,11 @@ const viewGuideline = (cell) => {
|
||||
plus.runtime.openFile(item.localPath, function(e) {
|
||||
console.log('打开成功');
|
||||
}, function(e) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: JSON.stringify(e),
|
||||
showCancel: false,
|
||||
confirmText: '确定',
|
||||
success: (res) => {
|
||||
if(res.confirm){
|
||||
}
|
||||
}
|
||||
});
|
||||
uni.showToast({
|
||||
title: '打开失败:' + e.message,
|
||||
icon: "none",
|
||||
duration: 2000,
|
||||
});
|
||||
console.log('打开失败:' + e.message);
|
||||
});
|
||||
// uni.openDocument({
|
||||
|
||||
Reference in New Issue
Block a user