mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-04 21:07:45 +08:00
🐛 fix(query-editor): 优化事务工具栏排版并修复 Wails 开发页加载
- 将手动事务提交回滚按钮并入主工具栏,移除重复入口和未提交文案 - 调整 v2 查询工具栏顺序,收起结果区入口并统一更多、AI、设置交互 - 修正 Wails dev 地址为 127.0.0.1,避免 index.html not found
This commit is contained in:
@@ -35,7 +35,7 @@ const QueryEditorTransactionToolbar: React.FC<QueryEditorTransactionToolbarProps
|
||||
? autoCommitRemainingSeconds !== null && autoCommitRemainingSeconds > 0
|
||||
? `${autoCommitRemainingSeconds}s 后自动提交`
|
||||
: '自动提交中'
|
||||
: '未提交';
|
||||
: null;
|
||||
const commitLabel = isV2Ui
|
||||
? (
|
||||
<>
|
||||
@@ -56,9 +56,11 @@ const QueryEditorTransactionToolbar: React.FC<QueryEditorTransactionToolbarProps
|
||||
whiteSpace: 'nowrap',
|
||||
}}
|
||||
>
|
||||
<span style={{ fontSize: 12, color: darkMode ? '#d4d4d4' : '#666' }}>
|
||||
{statusText}
|
||||
</span>
|
||||
{statusText ? (
|
||||
<span style={{ fontSize: 12, color: darkMode ? '#d4d4d4' : '#666' }}>
|
||||
{statusText}
|
||||
</span>
|
||||
) : null}
|
||||
<Button
|
||||
className={isV2Ui ? 'gn-v2-query-transaction-commit-button' : undefined}
|
||||
size="small"
|
||||
|
||||
Reference in New Issue
Block a user