zydx-plus 1.30.166 → 1.30.167
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.
package/package.json
CHANGED
|
@@ -151,7 +151,6 @@ export default {
|
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
deep: true,
|
|
154
|
-
immediate: true
|
|
155
154
|
},
|
|
156
155
|
readOnly: {
|
|
157
156
|
handler: function (e, oldVal) {
|
|
@@ -169,7 +168,7 @@ export default {
|
|
|
169
168
|
mounted() {
|
|
170
169
|
const _this = this
|
|
171
170
|
_this.editor = new Editor({
|
|
172
|
-
content:
|
|
171
|
+
content: json2html({node: "root",child: (_this.html === undefined)? [] : _this.html}),
|
|
173
172
|
editable: !_this.readOnly,
|
|
174
173
|
extensions: [
|
|
175
174
|
signId, // 签名
|