jsoneditor专题

Angular 由一个bug说起之四:jsonEditor使用不当造成的bug

一:问题 项目中使用了一个JSON第三方库: GitHub - josdejong/jsoneditor: A web-based tool to view, edit, format, and validate JSON 当用户编辑JSON格式的数据,查找替换时: 用户的期望结果是:$$ 被替换为$$_text,但是实际结果是被替换为$_text: 二:原因 第三方库源码中,替换

vue3 使用 jsoneditor

vue3 使用 jsoneditor 在main.js中引入 样式文件 import 'jsoneditor/dist/jsoneditor.css' 复制代码放到文件中就能用了 jsoneditor.vue <template><div ref="jsonDom" style="width: 100%; height: 460px"></div></template><script