perf: adjust the logic of

This commit is contained in:
vben
2020-10-27 22:48:08 +08:00
parent bfac425d1e
commit b350098f44
5 changed files with 50 additions and 43 deletions

View File

@@ -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 {