Merge branch 'dev' into v1.17
This commit is contained in:
commit
58b68ce700
@ -1338,8 +1338,9 @@ public class SqlserverQueryProvider extends QueryProvider {
|
||||
public List<Dateformat> dateformat() {
|
||||
return JSONArray.parseArray("[\n" +
|
||||
"{\"dateformat\": \"102\", \"desc\": \"yyyy.mm.dd\"},\n" +
|
||||
"{\"dateformat\": \"23\", \"desc\": \"yyyy-mm-dd\"},\n" +
|
||||
"{\"dateformat\": \"120\", \"desc\": \"yyyy-mm-dd\"},\n" +
|
||||
"{\"dateformat\": \"111\", \"desc\": \"yyyy/mm/dd\"},\n" +
|
||||
"{\"dateformat\": \"112\", \"desc\": \"yyyymmdd\"},\n" +
|
||||
"{\"dateformat\": \"120\", \"desc\": \"yyyy-mm-dd hh:mi:ss\"}\n" +
|
||||
"]", Dateformat.class);
|
||||
}
|
||||
|
||||
@ -859,6 +859,9 @@ export default {
|
||||
if (item.dateFormatType !== 'custom') {
|
||||
item.dateFormat = item.dateFormatType
|
||||
}
|
||||
}else {
|
||||
item.dateFormatType = ''
|
||||
item.dateFormat = ''
|
||||
}
|
||||
if (item.dateFormatType === 'custom' && !item.dateFormat) {
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user