We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eros 封装的promise里面可以获取到数值但是无法给this赋值回报错,只有在promise里这样,
<template lang="html"> <div> {{card}} </div> </template> <script> export default { data() { return { card: {} } }, created() { this.$storage.get('contentPage').then(resData => { this.card = resData; console.log(resData) }) this.$router.getParams().then(resData => { this.card = resData.card; }) } }
会报下面的错 jsLog: TypeError: null is not an object (evaluating 'e.parentNode.setAttr')
The text was updated successfully, but these errors were encountered:
用text标签替换div就能解决,在weex中,双向绑定是需要绑定在特定标签中的
Sorry, something went wrong.
@bajiu thanks~
No branches or pull requests
eros 封装的promise里面可以获取到数值但是无法给this赋值回报错,只有在promise里这样,
会报下面的错
jsLog: TypeError: null is not an object (evaluating 'e.parentNode.setAttr')
The text was updated successfully, but these errors were encountered: