refactor: no reactivity transform (#2600)
This commit is contained in:
parent
b9394c2fa5
commit
ccfa7a8d10
102 changed files with 649 additions and 652 deletions
|
@ -18,14 +18,14 @@ const showButton = computed(() =>
|
|||
&& status.content.trim().length,
|
||||
)
|
||||
|
||||
let translating = $ref(false)
|
||||
const translating = ref(false)
|
||||
async function toggleTranslation() {
|
||||
translating = true
|
||||
translating.value = true
|
||||
try {
|
||||
await _toggleTranslation()
|
||||
}
|
||||
finally {
|
||||
translating = false
|
||||
translating.value = false
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue