Skip to content

Commit

Permalink
fix: vue keepAlive不支持清除无绑定输入框缓存,demo更新
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Aug 22, 2022
1 parent 52d1b36 commit 64859ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/views/dashboard/index.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<template>
<div class="index">
hello word!
<input name="text" />
<input name="text" v-model="value" />
</div>
</template>
<script setup lang="ts" name="Dashboard"></script>
<script setup lang="ts" name="Dashboard">
const value = ref('');
</script>

<style lang="scss" scoped>
.index {
Expand Down

0 comments on commit 64859ff

Please sign in to comment.