Commit 0f51e3c3 authored by sunboylu's avatar sunboylu

feat: test null07

parent 8355b1fe
...@@ -70,6 +70,7 @@ ...@@ -70,6 +70,7 @@
let saveDataStr = ''; let saveDataStr = '';
function loadData() { function loadData() {
window.courseware.getData((data) => { window.courseware.getData((data) => {
console.log('获取到的数据:', data);
try { try {
editor.setValue(JSON.stringify(data, null, 2)); editor.setValue(JSON.stringify(data, null, 2));
editor.gotoLine(editor.session.getLength()); editor.gotoLine(editor.session.getLength());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment