feat: 参考原型图 ui优化提交 个人端-用户中心 相关的页面
This commit is contained in:
@@ -25,11 +25,11 @@ import React, {
|
||||
useRef,
|
||||
useState,
|
||||
} from 'react';
|
||||
import { Spin } from '@douyinfe/semi-ui';
|
||||
import { Spin } from '@/components/ui';
|
||||
import { PanelLeftOpen, ListChecks } from 'lucide-react';
|
||||
import { useSearchParams } from 'react-router-dom';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Layout, Toast, Modal, Banner } from '@douyinfe/semi-ui';
|
||||
import { Layout, Toast, Modal, Banner } from '@/components/ui';
|
||||
|
||||
// Context
|
||||
import { UserContext } from '../../context/User';
|
||||
@@ -221,7 +221,7 @@ const Playground = ({ isExperienceMode = false }) => {
|
||||
const root = chatAreaWrapperRef.current;
|
||||
if (!root) return null;
|
||||
try {
|
||||
const direct = root.querySelector('[class*="semi-chat-container"]');
|
||||
const direct = root.querySelector('[class*="ui-chat-container"]');
|
||||
if (direct) {
|
||||
if (direct.scrollHeight > direct.clientHeight) return direct;
|
||||
const inner = Array.from(direct.querySelectorAll('*')).find((el) => {
|
||||
|
||||
Reference in New Issue
Block a user