Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into main
  • Loading branch information
EnchangDu committed Nov 21, 2023
2 parents c291ef3 + a33ea89 commit f61ce5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@idealworld/formula-editor",
"version": "0.5.5",
"version": "0.5.7",
"description": "A relatively complete formula editor",
"scripts": {
"build": "rimraf dist && vue-tsc && vite build",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function watchFormulaResult(_formulaResult: FormulaResult) {
emit('update:checkPass', _formulaResult.pass)
}
function getFormuleWithLabel() {
function getFormulaWithLabel() {
const reg = new RegExp('(await )?\\' + props.entrance + '\\.(\\w+\\.\\w+)', 'g')
let _value = formulaResult.value
let labelNameConf: LabelNameConf = {}
Expand Down Expand Up @@ -244,7 +244,7 @@ async function getResultVal() {
}
defineExpose({
getFormuleWithLabel,
getFormulaWithLabel,
getResultVal
})
</script>
Expand Down

0 comments on commit f61ce5c

Please sign in to comment.