feat: 初始化
This commit is contained in:
commit
13970b6062
62 files changed
+1854
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<script setup lang="ts" name="DeviceAbnormal">
|
||||
import { useRoute } from "vue-router";
|
||||
import Abnormal from "@/components/abnormal/index.vue";
|
||||
|
||||
defineProps<{
|
||||
text?: string;
|
||||
}>();
|
||||
|
||||
const route = useRoute();
|
||||
const from: any = route.query.from;
|
||||
const msg: any = route.query.text;
|
||||
|
||||
const icon = new URL("../../assets/svg/device_abnormal.svg", import.meta.url).href;
|
||||
|
||||
const defaultText = "您的设备好像无法打开该网页";
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Abnormal
|
||||
:icon="icon"
|
||||
:text="text || msg || defaultText"
|
||||
:from="from"
|
||||
/>
|
||||
</template>
|
||||
Reference in new issue
Block a user