提交 c04bcd87 编写于 作者: fxy060608's avatar fxy060608

chore: remove unused

上级 41712e7e
import io.dcloud.uts.andriod.getResourcePath;
import android.util.Log;
interface IUser {
fun register(name: String): Unit;
}
fun login(name: String, pwd: String): UtsJSONObject {
console.log("login", "at app-android/login.uts:2");
return object : UtsJSONObject() {
var name = name
var pwd = pwd
};
}
val __default = getResourcePath("static/logo.png");
open class User : IUser {
open suspend fun login(name: String, pwd: String) = CoroutineScope(Dispatchers.Default).async {
login(name, pwd);
Log.info("123");
Log.info(__default);
}
override fun register(name: String) {
Log.info(__default);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册