bunny-admin-element-thin-i18n/other-views/nested/menu1/menu1-2/menu1-2-2/index.vue

27 lines
634 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup lang="ts">
import { ref } from "vue";
import { useI18n } from "vue-i18n";
import { useRoute } from "vue-router";
defineOptions({
name: "Menu1-2-2"
});
const input = ref("");
const { t } = useI18n();
const { query } = useRoute();
</script>
<template>
<div class="dark:text-white">
<p>{{ t("menus.pureMenu1") }}</p>
<p style="text-indent: 2em">{{ t("menus.pureMenu1-2") }}</p>
<p style="text-indent: 4em">{{ t("menus.pureMenu1-2-2") }}</p>
<el-input v-model="input" />
<div v-if="query.text" class="mt-4">
此页面携带的参数值为{{ query.text }}
</div>
</div>
</template>