render-core 1.0.124 → 1.0.126
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.
|
@@ -11,7 +11,7 @@ var AppController = /** @class */ (function () {
|
|
|
11
11
|
data: "default",
|
|
12
12
|
react: true,
|
|
13
13
|
callback: function (value, context) {
|
|
14
|
-
context.setFiled("
|
|
14
|
+
context.setFiled("system_theme", value);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
};
|
|
@@ -60,12 +60,12 @@ var AppController = /** @class */ (function () {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
AppController.prototype.setFiled = function (filed, value) {
|
|
63
|
+
var data = {};
|
|
64
|
+
Reflect.set(data, filed, value);
|
|
63
65
|
//写入数
|
|
64
66
|
status_write({
|
|
65
67
|
type: "local",
|
|
66
|
-
fields:
|
|
67
|
-
theme: value
|
|
68
|
-
}
|
|
68
|
+
fields: data
|
|
69
69
|
});
|
|
70
70
|
//更新数据
|
|
71
71
|
this.loadFileds();
|
|
@@ -55,12 +55,12 @@ var ContextController = /** @class */ (function () {
|
|
|
55
55
|
* @param value
|
|
56
56
|
*/
|
|
57
57
|
ContextController.prototype.setFiled = function (filed, value) {
|
|
58
|
+
var data = {};
|
|
59
|
+
Reflect.set(data, filed, value);
|
|
58
60
|
//写入数据
|
|
59
61
|
status_write({
|
|
60
62
|
type: "session",
|
|
61
|
-
fields:
|
|
62
|
-
theme: value
|
|
63
|
-
}
|
|
63
|
+
fields: data
|
|
64
64
|
});
|
|
65
65
|
//更新数据
|
|
66
66
|
// @ts-ignore
|