<template>
  <div>
    <span style="float: left;">预约须知：</span>
    <el-input
        v-model="textarea"
        style="width: 500px; float: left;"
        :rows="2"
        type="textarea"
        autosize
        placeholder="预约须知"
    />
  </div>
  <button @click="dy" style="display: inline-block">打印</button>
  <el-button type="primary" @click="onSubmit" style="margin-left: 10px">提交</el-button>
  <el-button type="primary" @click="resetForm" style="margin-left: 10px">重置</el-button>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
const textarea = ref('')
const dy =()=>{
  console.log(textarea.value)
}
//提交
const onSubmit=()=>{

}
//重置
const resetForm=()=>{

}
</script>

<style>

</style>