mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
perf: adjust the logic of
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
<template>
|
||||
<div class="p-4"> Current Param : {{ params }} </div>
|
||||
<div class="p-4">
|
||||
Current Param : {{ params }}
|
||||
<input />
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { computed, defineComponent, unref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
export default defineComponent({
|
||||
name: 'TestTab',
|
||||
setup() {
|
||||
const { currentRoute } = useRouter();
|
||||
return {
|
||||
|
Reference in New Issue
Block a user