Skip to content

Commit

Permalink
fix: 配置示例社区版链接变量调整--bug=130469123 (#3524)
Browse files Browse the repository at this point in the history
  • Loading branch information
q15971095971 committed Sep 13, 2024
1 parent 82bb864 commit ecfa264
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions bcs-services/bcs-bscp/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
var GRPC_ADDR = '{{ .GRPC_ADDR }}';
var HTTP_ADDR = '{{ .HTTP_ADDR }}';
var BK_NODE_HOST = '{{ .BK_NODE_HOST }}';
var PYTHON_SDK_DEPENDENCY_DOC = '{{ .PYTHON_SDK_DEPENDENCY_DOC }}';
var CLIENT_CONFIGURATION_DOC = '{{ .CLIENT_CONFIGURATION_DOC }}';
window.BSCP_CONFIG = JSON.parse('{{ .BK_BSCP_CONFIG }}');
</script>
</head>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@
// 代码预览上方提示框
const kvConfig = computed(() => {
const url = (window as any).PYTHON_SDK_DEPENDENCY_DOC;
// @ts-ignore
// eslint-disable-next-line
const url = BSCP_CONFIG.python_sdk_dependency_doc;
switch (props.kvName) {
case 'python':
// get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
const linkUrl = {
nodeManaUrl: `${(window as any).BK_NODE_HOST}/#/plugin-manager/rule`,
clientNode: (window as any).CLIENT_CONFIGURATION_DOC,
// @ts-ignore
// eslint-disable-next-line
clientNode: BSCP_CONFIG.client_configuration_doc,
};
const keyValidateReg = new RegExp(
Expand Down

0 comments on commit ecfa264

Please sign in to comment.