super-page-runtime 2.0.71 → 2.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ import axios from "axios";
|
|
|
9
9
|
import { getTableUuid, doAfterClickEvent, handleEvent } from "./event-util.js";
|
|
10
10
|
import { setStoreInfo } from "../store-util.js";
|
|
11
11
|
import { refreshPage } from "../api/api-util.js";
|
|
12
|
-
import { getPermissionCodes, getModelFields } from "../page-init-util.js";
|
|
12
|
+
import { getPermissionCodes, getDefaultValue, getModelFields } from "../page-init-util.js";
|
|
13
13
|
import { updateChartDatasources, getVariableValue, setVariableValue } from "../page-helper-util.js";
|
|
14
14
|
import printLabelUtil from "./print-label.js";
|
|
15
15
|
import { getTableNameByTableUuid } from "../table-utils.js";
|
|
@@ -1615,7 +1615,8 @@ function lineEditCreateFunc(params) {
|
|
|
1615
1615
|
const tableUuid = params["tableUuid"];
|
|
1616
1616
|
const gridRef = getComponentRef(pageContext, tableUuid);
|
|
1617
1617
|
if (gridRef) {
|
|
1618
|
-
|
|
1618
|
+
params.getDefaultValueFunc = getDefaultValue;
|
|
1619
|
+
gridRef.createRow(params.listCode, {}, params);
|
|
1619
1620
|
}
|
|
1620
1621
|
}
|
|
1621
1622
|
function printLabel(params) {
|