2023-03-13 19:02:44 +08:00

32 lines
583 B
Vue

<template>
<input :type="type" :name="name" :value="value" />
</template>
<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
name: 'BasicInput',
props: {
type: {
type: String,
default: 'text',
},
name: {
type: String,
default: '',
},
value: {
type: String,
default: '',
},
},
setup(_props) {
// const _props = props;
return {};
},
});
</script>
<style lang="scss" scoped></style>