mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 07:35:07 +00:00
update dashboard fetch api
This commit is contained in:
@@ -14,7 +14,8 @@
|
||||
"humanize-plus": "^1.8.2",
|
||||
"vue": "^2.2.4",
|
||||
"vue-resource": "^1.2.1",
|
||||
"vue-router": "^2.3.0"
|
||||
"vue-router": "^2.3.0",
|
||||
"whatwg-fetch": "^2.0.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
|
@@ -43,20 +43,19 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {DrawTrafficChart, DrawProxyChart} from "../utils/chart.js"
|
||||
|
||||
import {DrawTrafficChart, DrawProxyChart} from '../utils/chart.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
vhost_http_port: "",
|
||||
vhost_https_port: "",
|
||||
auth_timeout: "",
|
||||
subdomain_host: "",
|
||||
max_pool_count: "",
|
||||
heart_beat_timeout: "",
|
||||
client_counts: "",
|
||||
cur_conns: "",
|
||||
proxy_counts: ""
|
||||
vhost_http_port: '',
|
||||
vhost_https_port: '',
|
||||
auth_timeout: '',
|
||||
subdomain_host: '',
|
||||
max_pool_count: '',
|
||||
heart_beat_timeout: '',
|
||||
client_counts: '',
|
||||
cur_conns: '',
|
||||
proxy_counts: ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@@ -83,11 +83,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Humanize from "humanize-plus";
|
||||
import Humanize from 'humanize-plus';
|
||||
import Traffic from './Traffic.vue'
|
||||
import {
|
||||
HttpProxy
|
||||
} from "../utils/proxy.js"
|
||||
} from '../utils/proxy.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
@@ -78,17 +78,17 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Humanize from "humanize-plus";
|
||||
import Humanize from 'humanize-plus';
|
||||
import Traffic from './Traffic.vue'
|
||||
import {
|
||||
HttpsProxy
|
||||
} from "../utils/proxy.js"
|
||||
} from '../utils/proxy.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
proxies: null,
|
||||
vhost_https_port: "",
|
||||
subdomain_host: ""
|
||||
vhost_https_port: '',
|
||||
subdomain_host: ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@@ -74,11 +74,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Humanize from "humanize-plus";
|
||||
import Humanize from 'humanize-plus';
|
||||
import Traffic from './Traffic.vue'
|
||||
import {
|
||||
UdpProxy
|
||||
} from "../utils/proxy.js"
|
||||
} from '../utils/proxy.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
@@ -5,6 +5,7 @@ import './utils/less/custom.less'
|
||||
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
import 'whatwg-fetch'
|
||||
|
||||
Vue.use(ElementUI)
|
||||
Vue.config.productionTip = false
|
||||
|
Reference in New Issue
Block a user