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