mirror of
https://github.com/Fabio286/antares.git
synced 2025-03-12 09:20:06 +01:00
fix: manual page input not disabled when only one page is available
This commit is contained in:
parent
14577d14bb
commit
62f7e57d0c
@ -458,8 +458,13 @@ export default {
|
||||
: this.localRow.default
|
||||
: '';
|
||||
}
|
||||
else if (this.defaultValue.type === 'expression')
|
||||
else if (this.defaultValue.type === 'expression') {
|
||||
console.log(this.localRow.default);
|
||||
if (this.localRow.default.toUpperCase().includes('ON UPDATE'))
|
||||
this.defaultValue.expression = this.localRow.default.replace(/ on update.*$/i, '');
|
||||
else
|
||||
this.defaultValue.expression = this.localRow.default;
|
||||
}
|
||||
},
|
||||
editON (event, content, field) {
|
||||
if (field === 'length') {
|
||||
|
@ -328,7 +328,7 @@ export default {
|
||||
this.getTableData();
|
||||
},
|
||||
openPageMenu () {
|
||||
if (this.isQuering) return;
|
||||
if (this.isQuering || (this.results.length && this.results[0].rows.length < this.limit && this.page === 1)) return;
|
||||
|
||||
this.isPageMenu = true;
|
||||
if (this.isPageMenu)
|
||||
|
Loading…
x
Reference in New Issue
Block a user