mirror of https://github.com/fantasticit/think.git
client: fix data transform error
This commit is contained in:
parent
a42acc4015
commit
1dbbe990d3
|
@ -48,6 +48,10 @@ define(function (require, exports, module) {
|
||||||
* v1.1.3 => v1.2.0
|
* v1.1.3 => v1.2.0
|
||||||
* */
|
* */
|
||||||
function c_113_120(json) {
|
function c_113_120(json) {
|
||||||
|
if (!json.data) {
|
||||||
|
json.data = {};
|
||||||
|
}
|
||||||
|
|
||||||
// 原本的布局风格
|
// 原本的布局风格
|
||||||
var ocs = json.data.currentstyle;
|
var ocs = json.data.currentstyle;
|
||||||
delete json.data.currentstyle;
|
delete json.data.currentstyle;
|
||||||
|
|
Loading…
Reference in New Issue