u
This commit is contained in:
1 parent
4aaa93df7d
commit
c330e52fd3
66 files changed
+7386
-4
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<script lang="js" setup>
|
||||
const props = defineProps({
|
||||
field: Object,
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<template v-if="field && field.col_edit_type">
|
||||
<el-input v-if="field.col_edit_type === 'textarea'" type="textarea" v-bind="$attrs" />
|
||||
<el-date-picker v-else-if="field.col_edit_type === 'date'" type="date" v-bind="$attrs" />
|
||||
<el-date-picker
|
||||
v-else-if="field.col_edit_type === 'datetime'"
|
||||
type="datetime"
|
||||
v-bind="$attrs"
|
||||
/>
|
||||
<el-input v-else v-bind="$attrs" />
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<style lang="css" scoped></style>
|
||||
Reference in new issue
Block a user