mirror of
https://github.com/vxcontrol/ncform.git
synced 2026-07-20 22:05:47 -04:00
fix: emit array changed event (#1)
This commit is contained in:
@@ -277,7 +277,7 @@ export default {
|
||||
|
||||
// 对比控件改变前后的值,判断是否需要对其进行校验。
|
||||
if (changed) {
|
||||
if (!ncformUtils.isNormalObjSchema(newVal) && !ncformUtils.isNormalArrSchema(newVal)) { // 叶子结点
|
||||
if (!ncformUtils.isNormalObjSchema(newVal)) { // 叶子结点
|
||||
const formVM = window.__$ncform.__ncFormsGlobalList[this.formName];
|
||||
formVM.$emit('change', {
|
||||
paths: this.paths,
|
||||
|
||||
Reference in New Issue
Block a user