优化组件id

This commit is contained in:
Harvey Zack committed 2019-04-28 12:58:52 +08:00
1 parent 39ea75450c
commit 8ee7488bb1
7 files changed
+17 -9

No files matched your search

+1
View File
@@ -157,6 +157,7 @@ export default class Controls {
}
errorHandle(parent, 'Controls option.position can not be empty');
this.id += 1;
return component(this.art, this, parent, option, callback, 'control');
}