diff --git a/.bk.development.env b/.bk.development.env
index 7ba0299e6..550e1e6a9 100644
--- a/.bk.development.env
+++ b/.bk.development.env
@@ -21,6 +21,12 @@ BK_USER_MANAGE_HOST =
// lesscode部署时环境区分(prod/stag)
BK_LESSCODE_ENVIRONMENT = stag
+// paas 相关url前缀, 如用户管理相关接口
+BK_COMPONENT_API_URL =
+
+// cookie domian
+BKPAAS_BK_DOMAIN =
+
// itsm 地址
BK_ITSM_URL =
diff --git a/.bk.production.env b/.bk.production.env
index 728dddcdb..72eb7b4de 100644
--- a/.bk.production.env
+++ b/.bk.production.env
@@ -18,6 +18,12 @@ BK_USER_MANAGE_HOST = ${BK_USER_MANAGE_URL}
// lesscode部署时环境区分(prod/stag)
BK_LESSCODE_ENVIRONMENT = ${BKPAAS_ENVIRONMENT}
+/ paas 相关url前缀, 如用户管理相关接口
+BK_COMPONENT_API_URL = {{ BK_COMPONENT_API_URL }}
+
+// cookie domian
+BKPAAS_BK_DOMAIN = {{ BKPAAS_BK_DOMAIN }}
+
// apigateway 地址
BK_API_GATEWAY_ORIGIN = ${BK_API_URL_TMPL}
diff --git a/bk.config.js b/bk.config.js
index 21f6a769f..98475e05c 100644
--- a/bk.config.js
+++ b/bk.config.js
@@ -67,6 +67,9 @@ module.exports = {
{ from: /^\/$/, to: '/index.html' },
{ from: /^\/preview\//, to: '/preview.html' }
]
+ },
+ client: {
+ overlay: false
}
},
optimization: {
@@ -137,6 +140,10 @@ module.exports = {
.loader(require.resolve('vue-markdown-loader/lib/markdown-compiler'))
.options(mdLoaderOption)
+ config.module.rule('txt')
+ .test(/\.txt/)
+ .set('type', 'asset/source')
+
config.plugin('Buffer')
.use(
webpack.ProvidePlugin,
diff --git a/lib/client/index.html b/lib/client/index.html
index 6a0a2da89..8e0680e2f 100644
--- a/lib/client/index.html
+++ b/lib/client/index.html
@@ -29,6 +29,8 @@
+
+
+
diff --git a/lib/client/src/components/api/create-api-sideslider/header.vue b/lib/client/src/components/api/create-api-sideslider/header.vue
new file mode 100644
index 000000000..224d49cc4
--- /dev/null
+++ b/lib/client/src/components/api/create-api-sideslider/header.vue
@@ -0,0 +1,83 @@
+
+
+
+
+
diff --git a/lib/client/src/components/api/create-api-sideslider/index.vue b/lib/client/src/components/api/create-api-sideslider/index.vue
index 53426ad91..0ad8f8798 100644
--- a/lib/client/src/components/api/create-api-sideslider/index.vue
+++ b/lib/client/src/components/api/create-api-sideslider/index.vue
@@ -17,30 +17,45 @@
:form-data="formData"
@update="handleUpdate"
/>
+
+
-
+
+ >
+ {{ $t('获取请求响应') }}
+