@byteluck-fe/model-driven-core-all 2.9.0-alpha.9 → 2.9.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -219,6 +219,12 @@ function _registerCustomControls() {
|
|
|
219
219
|
];
|
|
220
220
|
case 2:
|
|
221
221
|
control = _state.sent();
|
|
222
|
+
//探测组件是否加载正常
|
|
223
|
+
if (payload.type === "runtime") {
|
|
224
|
+
control.Runtime.__is_control__ === true;
|
|
225
|
+
} else {
|
|
226
|
+
control.Designer.__is_control__ === true;
|
|
227
|
+
}
|
|
222
228
|
return [
|
|
223
229
|
3,
|
|
224
230
|
4
|