Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 430c75e

Browse files
fix: Fix redis cluster connection info modification issue (1Panel-dev#9799)
Refs 1Panel-dev#9798
1 parent 67ffb5e commit 430c75e

File tree

1 file changed

+4
-1
lines changed
  • frontend/src/views/database/redis/conn

1 file changed

+4
-1
lines changed

‎frontend/src/views/database/redis/conn/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ const loading = ref(false);
112112
const dialogVisible = ref(false);
113113
const form = reactive({
114114
status: '',
115+
type: '',
115116
systemIP: '',
116117
password: '',
117118
serviceName: '',
@@ -132,11 +133,13 @@ const formRef = ref<FormInstance>();
132133
133134
interface DialogProps {
134135
from: string;
136+
type: string;
135137
database: string;
136138
}
137139
const acceptParams = (params: DialogProps): void => {
138140
form.password = '';
139141
form.from = params.from;
142+
form.type = params.type;
140143
form.database = params.database;
141144
loadPassword();
142145
dialogVisible.value = true;
@@ -151,7 +154,7 @@ const random = async () => {
151154
152155
const loadPassword = async () => {
153156
if (form.from === 'local') {
154-
const res = await getAppConnInfo('redis', form.database);
157+
const res = await getAppConnInfo(form.type, form.database);
155158
form.status = res.data.status;
156159
form.password = res.data.password || '';
157160
form.port = res.data.port || 3306;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /