fix(ssl): prevent domain loss when editing certificate remark (#10946)

This commit is contained in:
CityFun 2025-11-13 15:43:25 +08:00 committed by GitHub
parent 8c9ae38017
commit a70e2635ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -343,6 +343,7 @@ const updateDesc = (row: Website.SSLDTO, bulr: Function) => {
const updateConfig = (row: Website.SSLDTO) => { const updateConfig = (row: Website.SSLDTO) => {
loading.value = true; loading.value = true;
row.otherDomains = row.domains?.replace(/,/g, '\n');
updateSSL(row) updateSSL(row)
.then(() => { .then(() => {
MsgSuccess(i18n.global.t('commons.msg.updateSuccess')); MsgSuccess(i18n.global.t('commons.msg.updateSuccess'));