feat: 1.统一右侧抽屉关闭按钮布局 2.统一 UI 组件为 Ant Design 移除 radix-ui、floating-ui 组件 3. 修复 ESLint 文件格式错误的问题
This commit is contained in:
@@ -41,8 +41,8 @@ runInNewContext(code, {
|
||||
if (name === 'react') return React;
|
||||
if (name === '@/components/ui') return { Avatar: 'avatar' };
|
||||
if (name === 'lucide-react') return { Bot: Mono, Image: Mono };
|
||||
assert.ok(name.startsWith('@lobehub/icons/es/'), name);
|
||||
return Object.assign(Mono, { Color, Avatar });
|
||||
assert.equal(name, '@/assets/brand-icons/lobehub');
|
||||
return new Proxy({}, { get: () => Object.assign(Mono, { Color, Avatar }) });
|
||||
},
|
||||
});
|
||||
const render = module.exports.default;
|
||||
|
||||
Reference in New Issue
Block a user