1
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.isSubmitting = true;
|
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 => {
|
.then(data => {
|
||||||
console.log('data:', data);
|
console.log('data:', data);
|
||||||
location.href = "/admin/theme/detail?themeName=" + themeName + "&fileName=" + fileName + "";
|
location.href = "/admin/theme/detail?themeName=" + themeName + "&fileName=" + fileName + "";
|
||||||
|
|||||||
Reference in New Issue
Block a user