Skip to content

Commit af744b7

Browse files
committed
开源测试发现的问题
1 parent 629c2ed commit af744b7

File tree

6 files changed

+16
-11
lines changed

6 files changed

+16
-11
lines changed

web/config.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
"en": "dolphinScheduler/i18n/en.json",
5656
"zh-CN": "dolphinScheduler/i18n/zh.json"
5757
}
58+
},
59+
"sparketl": {
60+
"routes": "sparketl/router/index",
61+
"i18n": {
62+
"en": "sparketl/utils/i18n/zh.json",
63+
"zh-CN": "sparketl/utils/i18n/zh.json"
64+
}
5865
}
5966
},
6067
"exts": {
@@ -81,7 +88,9 @@
8188
"template": "${username} ${time}",
8289
"timeupdate": 60000
8390
},
84-
"env": "opensource"
91+
"has_engineinfo": false,
92+
"showVersionDiff": false,
93+
"showScirptVarHelp": false
8594
},
8695
"version": "1.1.12"
8796
}

web/config.scriptis.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@
2323
"template": "${username} ${time}",
2424
"timeupdate": 60000
2525
},
26-
"update_chrome": "/_book/知识库/DSS常见问题/其他/DSS使用推荐的浏览器版本.html",
27-
"lsp_service": {
28-
"sql": "${protocol}//${host}/server",
29-
"py": "${protocol}//${host}/python"
30-
}
26+
"update_chrome": "/_book/知识库/DSS常见问题/其他/DSS使用推荐的浏览器版本.html"
3127
},
3228
"version": "1.1.12"
3329
}

web/packages/scriptis/module/hiveSidebar/hiveList/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export default {
264264
toggleShow(e) {
265265
const item = e.target.innerText
266266
const overDb = e.target.className.indexOf('fi-hivedb') > -1
267-
if ( overDb && !this.dbnameDesc[item] && this.$APP_CONF && this.$APP_CONF.env === 'webank') {
267+
if ( overDb && !this.dbnameDesc[item] && this.$APP_CONF && !this.$APP_CONF.hide_view_db_detail) {
268268
// mouseover 在数据库项上且未获取描述信息
269269
clearTimeout(this.fetchDbInfo)
270270
this.fetchDbInfo = setTimeout(() => {

web/packages/shared/components/dynamicForm/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="dynamic-form">
33
<div class="dynamic-form-header-wrap">
44
<h4 class="dynamic-form-header-title">{{ title }}</h4>
5-
<a target="_blank" href="/_book/知识库/用户手册/Scriptis/变量管理.html">{{ $t('message.common.Help') }}</a>
5+
<a v-if="$APP_CONF && $APP_CONF.showScirptVarHelp !== false" target="_blank" href="/_book/知识库/用户手册/Scriptis/变量管理.html">{{ $t('message.common.Help') }}</a>
66
</div>
77
<Form ref="dynamicForm" :model="formDynamic" class="dynamic-form-content">
88
<FormItem v-for="(item, index) in formDynamic.list" :key="index">

web/packages/workflows/module/process/module.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@
294294
</Form>
295295
<div slot="footer">
296296
<Button
297-
v-if="$APP_CONF && $APP_CONF.env === 'webank'"
297+
v-if="$APP_CONF && $APP_CONF.showVersionDiff !== false"
298298
@click="showDiff">{{$t('message.workflow.showVersionDiff')}}</Button>
299299
<Button
300300
type="primary"
@@ -2228,7 +2228,7 @@ export default {
22282228
}
22292229
this.timer = setTimeout(() => {
22302230
timeoutValue += 2000;
2231-
getPublishStatus(+id, this.getCurrentDsslabels()).then((res) => {
2231+
getPublishStatus(id, this.getCurrentDsslabels()).then((res) => {
22322232
if (timeoutValue <= (10 * 60 * 1000)) {
22332233
if (res.status === 'init' || res.status === 'running') {
22342234
clearTimeout(this.timer);

web/packages/workspace/module/management/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default {
6363
// children: [],
6464
// },
6565
];
66-
if (this.$APP_CONF && this.$APP_CONF.env === 'webank') {
66+
if (this.$APP_CONF && this.$APP_CONF.has_engineinfo !== false) {
6767
manageMenus.push({
6868
icon: 'engineinfo',
6969
name: i18n.t('message.workspaceManagement.engineInfo'),

0 commit comments

Comments
 (0)