ref |> 桌面组件去掉onAddForm时临时卡片判断
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -20,11 +20,11 @@ export default class DailyNewspaperFormAbility extends FormExtensionAbility { | @@ -20,11 +20,11 @@ export default class DailyNewspaperFormAbility extends FormExtensionAbility { | ||
| 20 | 20 | ||
| 21 | if (want.parameters) { | 21 | if (want.parameters) { |
| 22 | let formId = want.parameters[formInfo.FormParam.IDENTITY_KEY] as string | 22 | let formId = want.parameters[formInfo.FormParam.IDENTITY_KEY] as string |
| 23 | - let isTempCard = want.parameters[formInfo.FormParam.TEMPORARY_KEY] as boolean | ||
| 24 | - if (isTempCard === false) { // 如果为常态卡片,直接进行信息持久化 | 23 | + // let isTempCard = want.parameters[formInfo.FormParam.TEMPORARY_KEY] as boolean |
| 24 | + // if (isTempCard === false) { // 如果为常态卡片,直接进行信息持久化 | ||
| 25 | 25 | ||
| 26 | this.fetchAndRefreshData(formId) | 26 | this.fetchAndRefreshData(formId) |
| 27 | - } | 27 | + // } |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | let obj: FormNewspaperData = {} as FormNewspaperData | 30 | let obj: FormNewspaperData = {} as FormNewspaperData |
-
Please register or login to post a comment