Skip to content

Commit

Permalink
test: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Jun 19, 2024
1 parent 682c7be commit ee2ad40
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions start/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
<template>
<!-- <f-textarea v-model="value5" placeholder="禁止拉伸" resize="none" auto-height /> -->
<!-- <f-textarea v-model="value5" placeholder="禁止拉伸" resize="none" /> -->
<f-textarea clear v-model="value6" placeholder="随意拉伸" resize="both" />
<f-textarea v-model="value7" placeholder="水平拉伸" resize="horizontal" />
<f-textarea v-model="value8" placeholder="垂直拉伸" resize="vertical" />
<h1>{{ value || '暂无' }}</h1>
<f-select v-model="value" placeholder="请选择……">
<f-option :value="1">香蕉</f-option>
<f-option :value="2">苹果</f-option>
<f-option :value="3">哈密瓜</f-option>
<f-option :value="4">樱桃</f-option>
</f-select>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
const value5 = ref('none 禁止拉伸')
const value6 = ref('both 随意拉伸')
const value7 = ref('horizontal 水平拉伸')
const value8 = ref('vertical 垂直拉伸')
const value = ref('')
setTimeout(() => {
value.value = ''
}, 2000)
</script>

0 comments on commit ee2ad40

Please sign in to comment.