返回列表 發布新帖

評論1

姜文盛樓主Lv.9 發表於 2025-3-5 09:42 | 查看全部
解決方案:
1)在一般元件中,使用下面的語句
const controlB = component.getControlByPath('backInfo.startTime');
console.log(controlB.getOldValue());
console.log(controlB.value);
2)如果是在提交按鈕中,使用如下語句
dataControl.getControlByPath
其中參數都是字段的完整path

回復

您需要登錄後才可以回帖 登錄 | 立即注册

本版積分規則

  • 加入Line諮詢
Copyright © 2026 鼎新數智股份有限公司 版權所有 All Rights Reserved. Powered by Discuz! X5.0
關燈 在本版發帖
即将开放
返回頂部
快速回復 返回頂部 返回列表