feat: added format code to config editor

This commit is contained in:
0xJacky 2023-01-05 10:09:52 +08:00
parent 5cc9068f5f
commit 594c61a0ff
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
13 changed files with 230 additions and 22 deletions

View file

@ -7,6 +7,10 @@ const ngx = {
tokenize_config(content: string) {
return http.post('/ngx/tokenize_config', {content})
},
format_code(content: string) {
return http.post('/ngx/format_code', {content})
}
}