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
//获取应用实例 const app = getApp(); Page({ data: { isLoading: true, // 判断是否尚在加载中 article: {} // 内容数据 }, onLoad: function () { let result = app.towxml(# Markdown,'markdown',{ base:'https://xxx.com', // 相对资源的base路径 theme:'dark', // 主题,默认light events:{ // 为元素绑定的事件方法 tap:(e)=>{ console.log('tap',e); } } });
# Markdown
light
// 更新解析数据 this.setData({ article:result, isLoading: false }); }
}) 如何移出events:{ // 为元素绑定的事件方法 tap:(e)=>{ console.log('tap',e); } }
The text was updated successfully, but these errors were encountered:
在 config 中将所有的事情去掉
Sorry, something went wrong.
No branches or pull requests
//获取应用实例
const app = getApp();
Page({
data: {
isLoading: true, // 判断是否尚在加载中
article: {} // 内容数据
},
onLoad: function () {
let result = app.towxml(
# Markdown
,'markdown',{base:'https://xxx.com', // 相对资源的base路径
theme:'dark', // 主题,默认
light
events:{ // 为元素绑定的事件方法
tap:(e)=>{
console.log('tap',e);
}
}
});
})
如何移出events:{ // 为元素绑定的事件方法
tap:(e)=>{
console.log('tap',e);
}
}
The text was updated successfully, but these errors were encountered: