-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |