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
父组件:
import fakeHtml from './../../utils/fake' data = { id: '', isLongTap: false, left: (DEVICE_WIDTH - PixelRatio * 568) / 2, top: 100, keynoteText: { class: 'keynote-text' }, name1: 'myHtmlParserKiner1', contentHtml: '' } onLoad(options) { this.contentHtml = fakeHtml this.$apply() } 子组件: props = { parserName: { type: String, default: 'htmlParserName' }, parserContent: { type: String, default: "
无内容
The text was updated successfully, but these errors were encountered:
调试小程序,扫码,首次点击页面进来,props传值不过去,返回上一页再次点击进来,props就传递进来了。诡异~~~~~
Sorry, something went wrong.
同问,最后怎么处理,不想用广播。。
#270
No branches or pull requests
父组件:
import fakeHtml from './../../utils/fake'
data = {
id: '',
isLongTap: false,
left: (DEVICE_WIDTH - PixelRatio * 568) / 2,
top: 100,
keynoteText: {
class: 'keynote-text'
},
name1: 'myHtmlParserKiner1',
contentHtml: ''
}
onLoad(options) {
this.contentHtml = fakeHtml
this.$apply()
}
子组件:
props = {
parserName: {
type: String,
default: 'htmlParserName'
},
parserContent: {
type: String,
default: "
无内容
"},
parserType: {
type: String,
default: 'html'
},
parserPadding: {
type: Number,
default: 5
}
}
The text was updated successfully, but these errors were encountered: