xiangpei
2025-02-08 8c13cdc0b9eb10c3b4b57554a61286ac11909ec0
src/components/Process/panel/taskListener.vue
@@ -427,7 +427,7 @@
      //校验超时监听器参数
      if (this.listenerForm.class === 'com.ycl.listener.flowable.FlowableOverTimeListener') {
        // 0-0 格式
        const regex = /^(\d{1,2})-(\d{1,2})$/;
        const regex = /^(\d{1,3})-(\d{1,2})$/;
        for (let i = 0; i < this.listenerForm.fields.length; i++) {
          if (this.listenerForm.fields[i].name === '红码时长' || this.listenerForm.fields[i].name === '黄码时长') {
            const match = this.listenerForm.fields[i].string.match(regex);