mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 08:57:19 +08:00
12 lines
247 B
Vue
12 lines
247 B
Vue
<script setup lang="ts">
|
|
import { useRoute } from "vue-router";
|
|
const route = useRoute();
|
|
const index = route.params?.id ?? -1;
|
|
</script>
|
|
|
|
<template>
|
|
<div>{{ index }} - 详情页内容在此</div>
|
|
</template>
|
|
|
|
<style lang="scss" scoped></style>
|