fix
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
record[fieldCode]['disabled'] = true;
|
record[fieldCode]['disabled'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------- 保存時の処理 -------------------
|
// ------------------- 新規保存時の処理 -------------------
|
||||||
kintone.events.on(['app.record.create.submit.success'], async function (event) {
|
kintone.events.on(['app.record.create.submit.success'], async function (event) {
|
||||||
const api = new KintoneRestAPIClient();
|
const api = new KintoneRestAPIClient();
|
||||||
await api.record.updateRecord({
|
await api.record.updateRecord({
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
app: env[appName].appId,
|
app: env[appName].appId,
|
||||||
condition: `${keyName} = "${key}" and ${dateKey} >= "${yearRange.start}" and ${dateKey} <= "${yearRange.end}"`
|
condition: `${keyName} = "${key}" and ${dateKey} >= "${yearRange.start}" and ${dateKey} <= "${yearRange.end}"`
|
||||||
});
|
});
|
||||||
await new Promise(resolve => setTimeout(resolve, 3000));
|
// await new Promise(resolve => setTimeout(resolve, 3000));
|
||||||
|
|
||||||
return records.map((record) => {
|
return records.map((record) => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
Reference in New Issue
Block a user