1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

chore: update dependencies

This commit is contained in:
2020-11-13 17:49:09 +01:00
parent 3e5770f7de
commit 76351005b4
2 changed files with 7 additions and 7 deletions

View File

@ -385,8 +385,8 @@ export default {
},
editON (event, content, field) {
if (field === 'length') {
if (['integer', 'float', 'binary', 'spatial', 'other'].includes(this.fieldType.group)) this.editingField = 'numLength';
if (['string'].includes(this.fieldType.group)) this.editingField = 'charLength';
if (['integer', 'float', 'binary', 'spatial'].includes(this.fieldType.group)) this.editingField = 'numLength';
if (['string', 'other'].includes(this.fieldType.group)) this.editingField = 'charLength';
if (['time'].includes(this.fieldType.group)) this.editingField = 'datePrecision';
}
else
@ -416,8 +416,8 @@ export default {
this.localRow.datePrecision = false;
if (this.fieldType.length) {
if (['integer', 'float', 'binary', 'spatial', 'other'].includes(this.fieldType.group)) this.localRow.numLength = 11;
if (['string'].includes(this.fieldType.group)) this.localRow.charLength = 15;
if (['integer', 'float', 'binary', 'spatial'].includes(this.fieldType.group)) this.localRow.numLength = 11;
if (['string', 'other'].includes(this.fieldType.group)) this.localRow.charLength = 15;
if (['time'].includes(this.fieldType.group)) this.localRow.datePrecision = 0;
}