20260712212917

This commit is contained in:
oneao committed 2026-07-12 21:29:17 +08:00
1 parent 4677f6c519
commit 00472688ab
361 files changed
-153949

No files matched your search

@@ -1,32 +0,0 @@
<script setup>
import { computed } from "vue";
const props = defineProps({
modelValue: String,
disabled: Boolean,
});
const emit = defineEmits(["update:modelValue", "change"]);
const innerValue = computed({
get: () => props.modelValue,
set: (val) => emit("update:modelValue", val),
});
function handleChange(val) {
emit("change", val);
}
</script>
<template>
<el-date-picker
v-model="innerValue"
type="date"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
style="width: 100%"
size="small"
:disabled="disabled"
@change="handleChange"
/>
</template>
@@ -1,31 +0,0 @@
<script setup>
import { computed } from "vue";
const props = defineProps({
modelValue: String,
disabled: Boolean,
// dataField: {
// type: String,
// default: '',
// },
});
const emit = defineEmits(["update:modelValue", "change"]);
const innerValue = computed({
get: () => props.modelValue,
set: (val) => emit("update:modelValue", val),
});
</script>
<template>
<el-date-picker
v-model="innerValue"
type="datetime"
format="YYYY-MM-DD HH:mm:ss"
value-format="YYYY-MM-DD HH:mm:ss"
style="width: 100%"
size="small"
:disabled="disabled"
/>
</template>