bugfix
This commit is contained in:
parent
016219b6c5
commit
358e7c58e6
@ -1,4 +1,5 @@
|
|||||||
import os
|
import os
|
||||||
|
import copy
|
||||||
import codecs
|
import codecs
|
||||||
import json
|
import json
|
||||||
|
|
||||||
@ -38,9 +39,11 @@ if __name__ == '__main__':
|
|||||||
crud_data = DictObject(**a)
|
crud_data = DictObject(**a)
|
||||||
tblname = crud_data.alias or crud_data.tblname
|
tblname = crud_data.alias or crud_data.tblname
|
||||||
crud_data.output_dir = os.path.join(args.output_dir, tblname)
|
crud_data.output_dir = os.path.join(args.output_dir, tblname)
|
||||||
|
# print(f'{fn}\n{json.dumps(crud_data, indent=4, ensure_ascii=False)}')
|
||||||
crud_data.params.modulename = args.modulename
|
crud_data.params.modulename = args.modulename
|
||||||
crud_data.params.tblname = crud_data.tblname
|
crud_data.params.tblname = crud_data.tblname
|
||||||
if crud_data.uitype == 'tree':
|
if crud_data.uitype == 'tree':
|
||||||
build_tree_ui(crud_data, dbdesc)
|
build_tree_ui(crud_data, dbdesc)
|
||||||
continue
|
continue
|
||||||
build_crud_ui(crud_data, dbdesc)
|
db = copy.deepcopy(dbdesc)
|
||||||
|
build_crud_ui(crud_data, db)
|
||||||
|
Loading…
Reference in New Issue
Block a user