Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
property-management
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
property-management
Commits
b44acde9
Commit
b44acde9
authored
Aug 31, 2021
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【issues/2939】JEditable 下子表 addBefore()方法,在其中自定义调用其他方法不生效
parent
db467f22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
ant-design-vue-jeecg/src/mixins/JEditableTableMixin.js
+1
-0
ant-design-vue-jeecg/src/mixins/JEditableTableModelMixin.js
+1
-0
No files found.
ant-design-vue-jeecg/src/mixins/JEditableTableMixin.js
View file @
b44acde9
...
...
@@ -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'
)
{
...
...
ant-design-vue-jeecg/src/mixins/JEditableTableModelMixin.js
View file @
b44acde9
...
...
@@ -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'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment