fix(ui): 修复登录和并发请求并统一页面展示
调整登录流程和请求处理,统一各中心的表格交互、主题样式和页面展示。
This commit is contained in:
@@ -16,6 +16,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
import { formatIdReference } from '../../../../helpers/safeDisplay';
|
||||
|
||||
import { I18N_TECHNICAL_TEXT } from '../../../../i18n/technicalText.js';
|
||||
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
|
||||
@@ -290,11 +291,11 @@ const EditChannelModal = (props) => {
|
||||
if (ch.status !== 1) {
|
||||
return {
|
||||
value: ch.id,
|
||||
label: `#${ch.id} ${ch.name}${t('(已禁用)')}`,
|
||||
label: `${formatIdReference(ch.id)} ${ch.name}${t('(已禁用)')}`,
|
||||
disabled: true,
|
||||
};
|
||||
}
|
||||
const parts = [`#${ch.id} ${ch.name}`];
|
||||
const parts = [`${formatIdReference(ch.id)} ${ch.name}`];
|
||||
if (ch.group) parts.push(ch.group);
|
||||
if (ch.region) parts.push(ch.region);
|
||||
return { value: ch.id, label: parts.join(' · ') };
|
||||
@@ -345,7 +346,7 @@ const EditChannelModal = (props) => {
|
||||
.filter((id) => !known.has(id) && id !== channelId)
|
||||
.map((id) => ({
|
||||
value: id,
|
||||
label: `#${id}${t('(已删除)')}`,
|
||||
label: `${formatIdReference(id)}${t('(已删除)')}`,
|
||||
disabled: true,
|
||||
}));
|
||||
return missing.length
|
||||
|
||||
Reference in New Issue
Block a user