Merge pull request #8 from Syngnat/feature/init-20260202-ygf

- 禁用 fail-fast 策略,确保多平台构建互不干扰
- 为 go install 增加 -v 参数以输出详细日志
- 修复 DataGrid 组件中未解构 handleExportSelected 导致的编译错误
This commit is contained in:
Syngnat
2026-02-02 14:53:02 +08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ jobs:
name: Build ${{ matrix.platform }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
@@ -41,7 +42,7 @@ jobs:
node-version: '20'
- name: Install Wails
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
run: go install -v github.com/wailsapp/wails/v2/cmd/wails@latest
- name: Build
shell: bash

View File

@@ -139,7 +139,7 @@ const ContextMenuRow = React.memo(({ children, ...props }: any) => {
if (!record || !context) return <tr {...props}>{children}</tr>;
const { selectedRowKeysRef, displayDataRef, handleCopyInsert, handleCopyJson, handleCopyCsv, copyToClipboard } = context;
const { selectedRowKeysRef, displayDataRef, handleCopyInsert, handleCopyJson, handleCopyCsv, handleExportSelected, copyToClipboard } = context;
const getTargets = () => {
const keys = selectedRowKeysRef.current;