Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}).then(result => {
Taro.hideLoading();
if (result.status === 'error') {
showToast(result.message);
}
console.log('获取最新节点', result);
this.props.dispatch({
type: LATEST_TOPIC_LIST,
data: result.data
});
}).catch(error => {
showToast(error.message);
}).catch(error => {
showToast(error.message);
});
}, this.goDetail = topic_id => {
}).catch(error => {
showToast(error.message);
});
}, this.getTopicDetail = () => {