Hi .
When i call the test1 function by a button, then() is not working.
The testQuery itself seems successfully work. But any of handler(resolve, reject) is not called.
Please let me know what is wrong in my code.
jsObject1
export default {
test1: function (params) {
testQuery.run(params)
.then(() => {console.log('resolve')},
() => {console.log('reject')})
}
}
the button’s onclick code
{{
jsObject1.test1({
value: '1',
opt0: 'a',
opt1: b'
})
}}