diff --git a/packages/client/src/thirtypart/kityminder/kity-core/core/compatibility.js b/packages/client/src/thirtypart/kityminder/kity-core/core/compatibility.js index 801a217f..b78ddf1c 100644 --- a/packages/client/src/thirtypart/kityminder/kity-core/core/compatibility.js +++ b/packages/client/src/thirtypart/kityminder/kity-core/core/compatibility.js @@ -48,6 +48,10 @@ define(function (require, exports, module) { * v1.1.3 => v1.2.0 * */ function c_113_120(json) { + if (!json.data) { + json.data = {}; + } + // 原本的布局风格 var ocs = json.data.currentstyle; delete json.data.currentstyle;