Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2025-01-22 09:16:20 +00:00
commit 22bb0eba39
4 changed files with 3 additions and 4 deletions

View File

@ -171,7 +171,6 @@ function getSingleEndRange(nodes: ChildNode[], index: number, offset: number): [
let realIndex = 0;
let textOffset = 0;
for (let i = 0; i < index + 1; i++) {
// console.log(i, realIndex, textOffset);
if (nodes[i]?.nodeName === '#text') {
if (i !== index && nodes[i + 1] && nodes[i + 1]?.nodeName !== '#text') {
realIndex += 1;

View File

@ -12,10 +12,10 @@ import { css } from '@emotion/css';
import { useField, useFieldSchema } from '@formily/react';
import { Space } from 'antd';
import classNames from 'classnames';
//@ts-ignore
import React, {
createContext,
FC,
//@ts-ignore
startTransition,
useCallback,
useEffect,

View File

@ -168,7 +168,7 @@ export default class extends Instruction {
processor.logger.info(`request (#${node.id}) sent to "${config.url}", waiting for response...`);
return job;
return null;
}
async resume(node: FlowNodeModel, job, processor: Processor) {

View File

@ -78,7 +78,7 @@ export async function getApp({
});
await anotherDB.sync();
another.acl.allow('*', '*');
another.acl.allow('*', '*', 'loggedIn');
return app;
}