Skip to content

Commit a19301a

Browse files
committed
fix: typo
1 parent 7fed35b commit a19301a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,8 @@ function initEvent(element, input) {
105105

106106
async function setCalcationResult(element) {
107107
const { object, isRealtime } = getAttributes(element);
108-
let calculate = element.getAttribute('calculate');
109108

110-
let calString = await getValues(calculate);
109+
let calString = await getValues(element.getAttribute('calculate'));
111110

112111
if (calString) {
113112
let result = calculate(calString);

0 commit comments

Comments
 (0)