Compare commits

..

3 Commits

Author SHA1 Message Date
Wells 8ac0954d65 fix: update state tree data 2024-06-26 16:48:52 +08:00
Wells 0cb71a8634 fix: check if prototype exists in selection tool 2024-06-25 17:45:34 +08:00
Wells a7759494de fix: update toggleButton arrow style 2024-06-21 19:40:19 +08:00
4 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ const packageJson = {
private: true,
dependencies: {
'@music163/antd': '0.2.5',
'@music163/tango-boot': '0.2.5',
'@music163/tango-boot': '0.3.5',
react: '17.0.2',
'react-dom': '17.0.2',
'prop-types': '15.7.2',
@@ -48,7 +48,7 @@ const tangoConfigJson = {
},
'@music163/tango-boot': {
description: '云音乐低代码运行时框架',
version: '0.2.5',
version: '0.3.5',
library: 'TangoBoot',
type: 'baseDependency',
resources: ['https://unpkg.com/@music163/tango-boot@{{version}}/dist/boot.js'],
@@ -30,6 +30,7 @@ export const StateTree = observer(() => {
'pageStore',
'services',
'config',
'routeData',
]);
const callback = () => {
forceUpdate();
@@ -206,7 +206,7 @@ function SelectionBox({ showActions, actions, data }: SelectionBoxProps) {
}
/>
<SelectionToolSet>{!isPage && actions}</SelectionToolSet>
{isFromCurrentFile && prototype.hasChildren && (
{isFromCurrentFile && prototype?.hasChildren && (
<ComponentsPopover>
<Tooltip title="快捷添加子元素">
<SelectionHelper icon={<PlusOutlined />} />
+4 -4
View File
@@ -20,6 +20,10 @@ const buttonStyle = css`
transition: transform 0.1s ease-in;
}
&:hover .anticon-down {
transform: translateY(2px);
}
&.size-s {
height: 24px;
font-size: 14px;
@@ -59,10 +63,6 @@ const buttonStyle = css`
&:hover {
background-color: rgba(197, 197, 197, 0.16);
.anticon-down {
transform: translateY(2px);
}
}
&.disabled {