<!--
 * @Author: zhaojinfeng 121016171@qq.com
 * @Date: 2023-06-25 15:55:08
 * @LastEditors: zhaojinfeng 121016171@qq.com
 * @LastEditTime: 2023-06-25 19:14:25
 * @FilePath: \uni\packages\prompt\index.vue
 * @Description:
 *
-->
<template>
  <div>xx</div>
  <!-- <view>
    xxx
  </view> -->
</template>

<script lang="ts" setup name="Prompt">
const props = withDefaults(
  defineProps<{
  /** 标题 */
    title: string
    /** 是否必填 */
    required?: boolean
    /** 输入框的提示文字 */
    placeholder?: string
    /** 输入框的默认值 */
    defaulrValue?: string
  }>(),
  {
    required: false,
  },
)
console.log(uni)

const mask = ref(false)
const value = ref(props.defaulrValue)
</script>
