Skip to content

Commit

Permalink
🐛 修复错误
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxieyoulei committed Jun 28, 2024
1 parent ab8767f commit 6280626
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class LeanbackToastState(private val coroutineScope: CoroutineScope) {

private fun showToast(toast: LeanbackToastProperty) {
coroutineScope.launch {
if (_current.id != toast.id) {
if (_visible && _current.id != toast.id) {
_visible = false
delay(300)
}
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/raw/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@
<script>
const { createApp, ref, onMounted, watch, nextTick } = Vue

const baseUrl = "http://127.0.0.1:10481"
//const baseUrl = ""
//const baseUrl = "http://127.0.0.1:10481"
const baseUrl = ""

async function requestApi(url, config) {
const resp = await fetch(`${baseUrl}${url}`, config)
Expand Down

0 comments on commit 6280626

Please sign in to comment.