diff --git a/.gitea/workflows/dev.yml b/.gitea/workflows/dev.yml index 9589b357..fba89a6a 100644 --- a/.gitea/workflows/dev.yml +++ b/.gitea/workflows/dev.yml @@ -24,7 +24,9 @@ jobs: run: git config --global url."https://".insteadOf git:// - name: 安装依赖 - run: pnpm install + run: | + git config --global url."https://".insteadOf git:// + pnpm install continue-on-error: false # 依赖安装失败则终止工作流 - name: 构建项目 diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts index 1134544e..0383df0f 100644 --- a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts +++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts @@ -328,6 +328,9 @@ export const workforceDayDetailColumns: VxeGridProps['columns'] = [ width: 'auto', slots: { default: ({ row }) => { + if (!row.shift) { + return '/'; + } if (row.shift.startTime && row.shift.endTime) { if (row.shift.restEndTime && row.shift.restStartTime) { return `${row.shift.startTime}~${row.shift.endTime} ${row.shift.restStartTime}~${row.shift.restEndTime}`; diff --git a/apps/web-antd/src/views/property/energyManagement/electricEnergy/elctricitySituation/index.vue b/apps/web-antd/src/views/property/energyManagement/electricEnergy/elctricitySituation/index.vue index 432f78d2..37f7653e 100644 --- a/apps/web-antd/src/views/property/energyManagement/electricEnergy/elctricitySituation/index.vue +++ b/apps/web-antd/src/views/property/energyManagement/electricEnergy/elctricitySituation/index.vue @@ -1,14 +1,15 @@