Skip to content

Commit 0471db7

Browse files
committed
feat: 抛出执行公式的方法
1 parent f61ce5c commit 0471db7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@idealworld/formula-editor",
3-
"version": "0.5.7",
3+
"version": "0.5.8",
44
"description": "A relatively complete formula editor",
55
"scripts": {
66
"build": "rimraf dist && vue-tsc && vite build",

src/processes/executor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function packageEntrance(inputParams: Map<string, any>, materials: Namespace[],
132132
* @param formulaValue formula value
133133
* @returns execution results
134134
*/
135-
async function doExecute($: any, formulaValue: string): Promise<any> {
135+
export async function doExecute($: any, formulaValue: string): Promise<any> {
136136
const asyncFunction = Object.getPrototypeOf(async function () {
137137
}).constructor
138138
try {

0 commit comments

Comments
 (0)