fix: user-scalable=no

This commit is contained in:
2024-04-03 16:16:37 +08:00
parent 200891c199
commit 7a317ff749
2 changed files with 5 additions and 8 deletions

View File

@@ -6,6 +6,10 @@ const router = useRouter()
const modal = useModal()
const loginState = useLoginState()
useSeoMeta({
viewport: 'width=device-width, initial-scale=1.0, user-scalable=no',
})
onMounted(() => {
loginState.checkSession().then(res => {
if (!res && loginState.token) {

View File

@@ -51,14 +51,7 @@ const message_background = computed(() => {
:key="message.content"
>
<div v-if="message.content">
<!-- <span v-if="message.interrupted">-->
<!-- <svg class="inline -mt-0.5 opacity-80" xmlns="http://www.w3.org/2000/svg" width="1.2em"-->
<!-- height="1.2em" viewBox="0 0 24 24">-->
<!-- <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"-->
<!-- d="M12 9v4m-1.637-9.409L2.257 17.125a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636-2.87L13.637 3.59a1.914 1.914 0 0 0-3.274 0zM12 16h.01"/>-->
<!-- </svg>-->
<!-- {{ message.content }}-->
<!-- </span>-->
<!-- TODO: 生成结果的代码添加复制按钮 -->
<Markdown :source="message.content"/>
</div>
<span v-else>