diff --git a/src/App.vue b/src/App.vue index d3fa3b4..c261684 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,17 +1,23 @@ @@ -21,9 +27,11 @@ import { ref, computed } from 'vue' import NotFound from './components/NotFound.vue' import Home from './components/PlayerEdit.vue' import PlayerQuery from './components/PlayerQuery.vue' +import Cicd from './components/Cicd.vue' const routes = { '/': Home, '/playerquery': PlayerQuery, + '/cicd': Cicd, } const currentPath = ref(window.location.hash) window.addEventListener('hashchange', () => { diff --git a/src/components/Cicd.vue b/src/components/Cicd.vue new file mode 100644 index 0000000..dc39078 --- /dev/null +++ b/src/components/Cicd.vue @@ -0,0 +1,35 @@ + + + diff --git a/src/components/PlayerEdit.vue b/src/components/PlayerEdit.vue index 18849e3..5256036 100644 --- a/src/components/PlayerEdit.vue +++ b/src/components/PlayerEdit.vue @@ -267,15 +267,20 @@ export default { }, data() { return { - servers: [{ + servers: [ + { value: '本机', - }, { + }, + { value: '内网测试服', - }, { + }, + { value: '审核服', - }, { - value: '正式服', - }], + }, + // { + // value: '正式服', + // }, + ], serversDict: { '本机': 'http://localhost:9002/api/gm/action', '内网测试服': 'http://172.10.10.18:9002/api/gm/action', diff --git a/src/main.js b/src/main.js index 5873d99..2840983 100644 --- a/src/main.js +++ b/src/main.js @@ -11,7 +11,7 @@ import 'element-plus/dist/index.css' var app = createApp(App) // app.config.globalProperties.$gvEnv = 'dev'; -app.config.globalProperties.$gvEnv = 'prod'; +app.config.globalProperties.$gvEnv = 'dev'; if (app.config.globalProperties.$gvEnv == "prod"){ app = createApp(AppProd) -- libgit2 0.21.0