This commit is contained in:
2025-05-10 16:48:31 +08:00
parent f6bfe45dc3
commit 4de9e6fcb4

View File

@@ -47,7 +47,7 @@
return;
}
this.isSubmitting = true;
axios.put('/themes/' + themeName + '/file/?fileName=' + fileName, { content: this.file.content })
axios.put('/themes/' + themeName + '/file/?fileName=' + fileName, { content: editor.getValue() })
.then(data => {
console.log('data:', data);
location.href = "/admin/theme/detail?themeName=" + themeName + "&fileName=" + fileName + "";