mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 19:05:55 +02:00
refactor: upgrade ant design vue v3 to v4
This commit is contained in:
parent
c578f26054
commit
d84dbffb54
142 changed files with 7883 additions and 13745 deletions
|
@ -1,33 +1,33 @@
|
|||
import http from '@/lib/http'
|
||||
|
||||
const ngx = {
|
||||
build_config(ngxConfig: any) {
|
||||
return http.post('/ngx/build_config', ngxConfig)
|
||||
},
|
||||
build_config(ngxConfig: any) {
|
||||
return http.post('/ngx/build_config', ngxConfig)
|
||||
},
|
||||
|
||||
tokenize_config(content: string) {
|
||||
return http.post('/ngx/tokenize_config', {content})
|
||||
},
|
||||
tokenize_config(content: string) {
|
||||
return http.post('/ngx/tokenize_config', {content})
|
||||
},
|
||||
|
||||
format_code(content: string) {
|
||||
return http.post('/ngx/format_code', {content})
|
||||
},
|
||||
format_code(content: string) {
|
||||
return http.post('/ngx/format_code', {content})
|
||||
},
|
||||
|
||||
status() {
|
||||
return http.get('/nginx/status')
|
||||
},
|
||||
status() {
|
||||
return http.get('/nginx/status')
|
||||
},
|
||||
|
||||
reload() {
|
||||
return http.post('/nginx/reload')
|
||||
},
|
||||
reload() {
|
||||
return http.post('/nginx/reload')
|
||||
},
|
||||
|
||||
restart() {
|
||||
return http.post('/nginx/restart')
|
||||
},
|
||||
restart() {
|
||||
return http.post('/nginx/restart')
|
||||
},
|
||||
|
||||
test() {
|
||||
return http.post('/nginx/test')
|
||||
}
|
||||
test() {
|
||||
return http.post('/nginx/test')
|
||||
}
|
||||
}
|
||||
|
||||
export default ngx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue