We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b55dcc commit b9d80aeCopy full SHA for b9d80ae
1 file changed
frontend/src/views/system/parameter/index.vue
@@ -22,11 +22,17 @@ const loadData = () => {
22
if (res) {
23
res.forEach((item: any) => {
24
if (
25
- (item.pkey?.startsWith('chat') && item.pkey !== 'chat.sqlbot_name') ||
+ item.pkey?.startsWith('chat') ||
26
item.pkey?.startsWith('login') ||
27
item.pkey?.startsWith('platform')
28
) {
29
- state.parameterForm[item.pkey] = formatArg(item.pval)
+ if (item.pkey !== 'chat.sqlbot_name') {
30
+ if (item.pval && item.pval.trim().length > 0) {
31
+ state.parameterForm[item.pkey] = item.pval
32
+ }
33
+ } else {
34
+ state.parameterForm[item.pkey] = formatArg(item.pval)
35
36
}
37
})
38
console.log(state.parameterForm)
0 commit comments