Browse Source

feat: 创建运行环境网站增加 Python 选项 (#6815)

pull/6817/head
zhengkunwang 1 month ago committed by GitHub
parent
commit
7faef2f8a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      frontend/src/routers/modules/website.ts
  2. 1
      frontend/src/views/website/website/create/index.vue

6
frontend/src/routers/modules/website.ts

@ -64,7 +64,7 @@ const webSiteRouter = {
hidden: true, hidden: true,
component: () => import('@/views/website/runtime/java/index.vue'), component: () => import('@/views/website/runtime/java/index.vue'),
meta: { meta: {
activeMenu: '/websites/runtimes/java', activeMenu: '/websites/runtimes/php',
requiresAuth: false, requiresAuth: false,
}, },
}, },
@ -74,7 +74,7 @@ const webSiteRouter = {
hidden: true, hidden: true,
component: () => import('@/views/website/runtime/go/index.vue'), component: () => import('@/views/website/runtime/go/index.vue'),
meta: { meta: {
activeMenu: '/websites/runtimes/go', activeMenu: '/websites/runtimes/php',
requiresAuth: false, requiresAuth: false,
}, },
}, },
@ -84,7 +84,7 @@ const webSiteRouter = {
hidden: true, hidden: true,
component: () => import('@/views/website/runtime/python/index.vue'), component: () => import('@/views/website/runtime/python/index.vue'),
meta: { meta: {
activeMenu: '/websites/runtimes/python', activeMenu: '/websites/runtimes/php',
requiresAuth: false, requiresAuth: false,
}, },
}, },

1
frontend/src/views/website/website/create/index.vue

@ -165,6 +165,7 @@
<el-option label="Node.js" value="node"></el-option> <el-option label="Node.js" value="node"></el-option>
<el-option label="Java" value="java"></el-option> <el-option label="Java" value="java"></el-option>
<el-option label="Go" value="go"></el-option> <el-option label="Go" value="go"></el-option>
<el-option label="Python" value="python"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>

Loading…
Cancel
Save