diff --git a/.workflow/pipeline-20251103.yml b/.workflow/pipeline-20251103.yml new file mode 100644 index 000000000..f527e76e6 --- /dev/null +++ b/.workflow/pipeline-20251103.yml @@ -0,0 +1,56 @@ +version: '1.0' +name: pipeline-20251103 +displayName: master-build +triggers: + trigger: auto + push: + branches: + prefix: + - '' + pr: + branches: + prefix: + - '' + schedule: + - cron: '* * * 1 * ? *' +stages: + - name: stage-72bb5db9 + displayName: build + strategy: naturally + trigger: auto + executor: [] + steps: + - step: build@nodejs + name: build_nodejs + displayName: Nodejs 构建 + nodeVersion: 24.5.0 + commands: + - '# 设置NPM源,提升安装速度' + - npm config set registry https://registry.npmmirror.com + - '# 安装pnpm' + - npm add -g pnpm + - '# 安装依赖' + - pnpm i + - '# 检查lint' + - pnpm lint + - '# 检查check' + - pnpm check + - '# 执行编译命令antd' + - pnpm build:antd + - '# 执行编译命令ele' + - pnpm build:ele + - '# 执行编译命令naive' + - pnpm build:naive + artifacts: + - name: BUILD_ARTIFACT + path: + - ./apps/web-antd/dist/ + - ./apps/web-ele/dist/ + - ./apps/web-naive/dist/ + caches: + - ~/.npm + - ~/.yarn + - ~/.pnpm + notify: [] + strategy: + retry: '0' diff --git a/apps/web-antd/src/components/description/description.vue b/apps/web-antd/src/components/description/description.vue index 3d341596e..d591e5722 100644 --- a/apps/web-antd/src/components/description/description.vue +++ b/apps/web-antd/src/components/description/description.vue @@ -133,9 +133,7 @@ export default defineComponent({ > {() => { if (item.slot) { - // TODO @xingyu:这里要 inline 掉么? - const slotContent = getSlot(slots, item.slot, data); - return slotContent; + return getSlot(slots, item.slot, data); } if (!contentMinWidth) { return getContent(); diff --git a/apps/web-antd/src/plugins/form-create/index.ts b/apps/web-antd/src/plugins/form-create/index.ts index d7b59b5b7..e13f1c1f7 100644 --- a/apps/web-antd/src/plugins/form-create/index.ts +++ b/apps/web-antd/src/plugins/form-create/index.ts @@ -96,7 +96,7 @@ export function setupFormCreate(app: App) { components.forEach((component) => { app.component(component.name as string, component); }); - // TODO @xingyu:这里为啥 app.component('AMessage', message); 看官方是没有的; + // TODO @xingyu:这里为啥 app.component('AMessage', message); 看官方是没有的; 需要额外引入 app.component('AMessage', message); formCreate.use(install); app.use(formCreate); diff --git a/apps/web-antd/src/views/bpm/model/definition/data.ts b/apps/web-antd/src/views/bpm/model/definition/data.ts index dda15f371..1e33ac84a 100644 --- a/apps/web-antd/src/views/bpm/model/definition/data.ts +++ b/apps/web-antd/src/views/bpm/model/definition/data.ts @@ -1,5 +1,4 @@ import type { VxeTableGridOptions } from '#/adapter/vxe-table'; -import type { BpmProcessDefinitionApi } from '#/api/bpm/definition'; import { DICT_TYPE } from '@vben/constants'; diff --git a/apps/web-antd/src/views/bpm/processInstance/detail/modules/time-line.vue b/apps/web-antd/src/views/bpm/processInstance/detail/modules/time-line.vue index 518e33ceb..88fe40728 100644 --- a/apps/web-antd/src/views/bpm/processInstance/detail/modules/time-line.vue +++ b/apps/web-antd/src/views/bpm/processInstance/detail/modules/time-line.vue @@ -109,11 +109,11 @@ function getApprovalNodeIcon(taskStatus: number, nodeType: BpmNodeTypeEnum) { } if ( [ - BpmNodeTypeEnum.START_USER_NODE, - BpmNodeTypeEnum.USER_TASK_NODE, - BpmNodeTypeEnum.TRANSACTOR_NODE, BpmNodeTypeEnum.CHILD_PROCESS_NODE, BpmNodeTypeEnum.END_EVENT_NODE, + BpmNodeTypeEnum.START_USER_NODE, + BpmNodeTypeEnum.TRANSACTOR_NODE, + BpmNodeTypeEnum.USER_TASK_NODE, ].includes(nodeType) ) { return statusIconMap[taskStatus]?.icon || 'mdi:clock-outline'; diff --git a/apps/web-antd/src/views/bpm/task/done/index.vue b/apps/web-antd/src/views/bpm/task/done/index.vue index 0517fa4a1..8dcaa4ed1 100644 --- a/apps/web-antd/src/views/bpm/task/done/index.vue +++ b/apps/web-antd/src/views/bpm/task/done/index.vue @@ -6,8 +6,6 @@ import { DocAlert, Page } from '@vben/common-ui'; import { message } from 'ant-design-vue'; -import { $t } from '#/locales'; - import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table'; import { getTaskDonePage, withdrawTask } from '#/api/bpm/task'; import { router } from '#/router'; diff --git a/apps/web-antd/src/views/mall/product/spu/form/data.ts b/apps/web-antd/src/views/mall/product/spu/form/data.ts index 3ca6e5c79..d2ff7eeb5 100644 --- a/apps/web-antd/src/views/mall/product/spu/form/data.ts +++ b/apps/web-antd/src/views/mall/product/spu/form/data.ts @@ -102,7 +102,6 @@ export function useInfoFormSchema(): VbenFormSchema[] { } /** 价格库存的表单 */ -// TODO @puhui999:貌似太宽了。。。屏幕小的,整个 table 展示补全哈~~ export function useSkuFormSchema( propertyList: any[] = [], isDetail: boolean = false, diff --git a/apps/web-antd/src/views/mall/product/spu/form/index.vue b/apps/web-antd/src/views/mall/product/spu/form/index.vue index 8e9144cca..78c5d6a4b 100644 --- a/apps/web-antd/src/views/mall/product/spu/form/index.vue +++ b/apps/web-antd/src/views/mall/product/spu/form/index.vue @@ -128,10 +128,6 @@ const [InfoForm, infoFormApi] = useVbenForm({ const [SkuForm, skuFormApi] = useVbenForm({ commonConfig: { - componentProps: { - class: 'w-full', - }, - formItemClass: 'col-span-2', labelWidth: 120, }, layout: 'horizontal', @@ -364,6 +360,7 @@ onMounted(async () => {