fix 修复树结构代码生成新增方法赋值错误
Signed-off-by: 疯狂的狮子Li <15040126243@163.com>
This commit is contained in:
parent
d45ae7ffc5
commit
3c89a83d6b
@ -455,7 +455,7 @@ export default {
|
||||
this.reset();
|
||||
this.getTreeselect();
|
||||
if (row != null) {
|
||||
this.form.${treeParentCode} = row.${treeCode};
|
||||
this.form.${treeParentCode} = row.${treeParentCode};
|
||||
}
|
||||
get${BusinessName}(row.${pkColumn.javaField}).then(response => {
|
||||
this.loading = false;
|
||||
|
@ -421,7 +421,7 @@ async function handleUpdate(row) {
|
||||
reset();
|
||||
await getTreeselect();
|
||||
if (row != null) {
|
||||
form.value.${treeParentCode} = row.${treeCode};
|
||||
form.value.${treeParentCode} = row.${treeParentCode};
|
||||
}
|
||||
get${BusinessName}(row.${pkColumn.javaField}).then(response => {
|
||||
loading.value = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user