feat:优化弹窗提示
This commit is contained in:
1 parent
4ec5a268ab
commit
fba20dcfe0
1 file changed
+2
-2
@@ -567,14 +567,14 @@ interface JsExtensions {
|
||||
* 弹窗提示
|
||||
*/
|
||||
fun toast(msg: Any?) {
|
||||
appCtx.toastOnUi(msg.toString())
|
||||
appCtx.toastOnUi("${getSource()?.getTag()}: ${msg.toString()}")
|
||||
}
|
||||
|
||||
/**
|
||||
* 弹窗提示 停留时间较长
|
||||
*/
|
||||
fun longToast(msg: Any?) {
|
||||
appCtx.longToastOnUi(msg.toString())
|
||||
appCtx.longToastOnUi("${getSource()?.getTag()}: ${msg.toString()}")
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user