mirror of https://github.com/jeecgboot/jeecg-boot
【issues/2939】JEditable 下子表 addBefore()方法,在其中自定义调用其他方法不生效
parent
db467f22a7
commit
b44acde9b5
|
@ -53,6 +53,7 @@ export const JEditableTableMixin = {
|
|||
this.tableReset();
|
||||
resolve();
|
||||
}).then(() => {
|
||||
if (typeof this.addBefore === 'function') this.addBefore()
|
||||
// 默认新增空数据
|
||||
let rowNum = this.addDefaultRowNum
|
||||
if (typeof rowNum !== 'number') {
|
||||
|
|
|
@ -51,6 +51,7 @@ export const JEditableTableModelMixin = {
|
|||
this.tableReset();
|
||||
resolve();
|
||||
}).then(() => {
|
||||
if (typeof this.addBefore === 'function') this.addBefore()
|
||||
// 默认新增空数据
|
||||
let rowNum = this.addDefaultRowNum
|
||||
if (typeof rowNum !== 'number') {
|
||||
|
|
Loading…
Reference in New Issue