mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
22bb0eba39
@ -171,7 +171,6 @@ function getSingleEndRange(nodes: ChildNode[], index: number, offset: number): [
|
|||||||
let realIndex = 0;
|
let realIndex = 0;
|
||||||
let textOffset = 0;
|
let textOffset = 0;
|
||||||
for (let i = 0; i < index + 1; i++) {
|
for (let i = 0; i < index + 1; i++) {
|
||||||
// console.log(i, realIndex, textOffset);
|
|
||||||
if (nodes[i]?.nodeName === '#text') {
|
if (nodes[i]?.nodeName === '#text') {
|
||||||
if (i !== index && nodes[i + 1] && nodes[i + 1]?.nodeName !== '#text') {
|
if (i !== index && nodes[i + 1] && nodes[i + 1]?.nodeName !== '#text') {
|
||||||
realIndex += 1;
|
realIndex += 1;
|
||||||
|
@ -12,10 +12,10 @@ import { css } from '@emotion/css';
|
|||||||
import { useField, useFieldSchema } from '@formily/react';
|
import { useField, useFieldSchema } from '@formily/react';
|
||||||
import { Space } from 'antd';
|
import { Space } from 'antd';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
//@ts-ignore
|
|
||||||
import React, {
|
import React, {
|
||||||
createContext,
|
createContext,
|
||||||
FC,
|
FC,
|
||||||
|
//@ts-ignore
|
||||||
startTransition,
|
startTransition,
|
||||||
useCallback,
|
useCallback,
|
||||||
useEffect,
|
useEffect,
|
||||||
|
@ -168,7 +168,7 @@ export default class extends Instruction {
|
|||||||
|
|
||||||
processor.logger.info(`request (#${node.id}) sent to "${config.url}", waiting for response...`);
|
processor.logger.info(`request (#${node.id}) sent to "${config.url}", waiting for response...`);
|
||||||
|
|
||||||
return job;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
async resume(node: FlowNodeModel, job, processor: Processor) {
|
async resume(node: FlowNodeModel, job, processor: Processor) {
|
||||||
|
@ -78,7 +78,7 @@ export async function getApp({
|
|||||||
});
|
});
|
||||||
await anotherDB.sync();
|
await anotherDB.sync();
|
||||||
|
|
||||||
another.acl.allow('*', '*');
|
another.acl.allow('*', '*', 'loggedIn');
|
||||||
|
|
||||||
return app;
|
return app;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user