This commit is contained in:
zoujiandong
2025-12-03 10:20:33 +08:00
parent 1785e9309e
commit f4c8df1950
3 changed files with 49 additions and 56 deletions
+5 -10
View File
@@ -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({