From 07925905f1a596e20e980de6d42db217abb753b0 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 12 十二月 2025 18:06:11 +0800
Subject: [PATCH] plugin
---
js/Page.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/js/Page.js b/js/Page.js
index 04db2e7..11e11d3 100644
--- a/js/Page.js
+++ b/js/Page.js
@@ -95,7 +95,7 @@
exStr = ex
tip = typeof ex.errMsg == "string" ? ex.errMsg :typeof ex.message == "string" ? ex.message: exStr
}
- plus.nativeUI.toast(tip , {verticalAlign:"center",duration:"short"});
+ plus.nativeUI.toast(`<div>${tip}</div>` , {verticalAlign:"center",type:"richtext",duration:"short"});
}
export function showError(ex,title=""){
--
Gitblit v1.9.1