Skip to content

Commit

Permalink
Merge pull request #1443 from alibaba/daily/1.0.5
Browse files Browse the repository at this point in the history
feat: 迭代开发
  • Loading branch information
lhbxs authored Nov 13, 2023
2 parents 784fb51 + c795ef4 commit a9386a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default defineConfig({
'form-render': path.resolve(__dirname, 'packages/form-render/src'),
'table-render': path.resolve(__dirname, 'packages/table-render/src'),
'@xrenders/schema-builder': path.resolve(__dirname, 'tools/schema-builder/src'),
'form-render-mobile': path.resolve(__dirname, 'packages/form-render-mobile/src'),
// 'form-render-mobile': path.resolve(__dirname, 'packages/form-render-mobile/src'),
'@xrenders/data-render': path.resolve(__dirname, 'packages/data-render/src'),
},
codeSplitting: { jsStrategy: 'granularChunks' },
Expand Down
2 changes: 1 addition & 1 deletion packages/form-render/src/models/expression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const parseExpression = (func: any, formData = {}, parentPath: string | [
const result = Function(funcStr)();
return result;
} catch (error) {
//console.log(error, funcStr, parentPath);
console.log(error, funcStr, parentPath);
return null; // 如果计算有错误,return null 最合适
}
}
Expand Down

0 comments on commit a9386a3

Please sign in to comment.