We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f23801 commit 92c55b1Copy full SHA for 92c55b1
build/plugins/cool.ts
@@ -200,14 +200,14 @@ function datetimeMerge({ columns, item }: any) {
200
const key = item.prop.replace("start", "");
201
202
if (columns.find((e: any) => e.propertyName == "end" + key)) {
203
- item.label = key == "time" ? "时间范围" : "日期访问";
+ item.label = key == "time" ? "时间范围" : "日期范围";
204
item.prop = key.toLocaleLowerCase();
205
item.hook = "datetimeRange";
206
item.component = {
207
name: "el-date-picker",
208
props: {
209
type: key == "time" ? "datetimerange" : "daterange",
210
- valueFormat: "YYYY-MM-DD HH:mm:ss"
+ valueFormat: "time" ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD 00:00:00"
211
}
212
};
213
0 commit comments