Skip to content

Commit

Permalink
修复发送私信问题
Browse files Browse the repository at this point in the history
  • Loading branch information
dsaco committed Aug 31, 2017
1 parent 4b5628b commit 20dd5dd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/scripts/components/PostPanel/PostPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ export default class PostPanel extends Component{
this.addToy = this._addToy.bind(this)

this.sharePost = () => this.setState({sharePost:true})
this.sendMsg = (id) => {
this.sendMsg = (touid) => {
WKIT.switchTouid({
touid,
});
WKIT.sendMsg({
touid:id,
touid,
msg:`小伙伴你好~(*´▽`)ノ因您搬运官方图片存在不规范操作,所以来通知一下~
如果搬运官方图片时一定要打上搬运标签,而且要是有文字信息的 例如发售日 售价 开订日期 也一定都要写在描述上面 绝不能只搬运图片呦
Expand Down Expand Up @@ -145,7 +148,7 @@ export default class PostPanel extends Component{
<i className="fa fa-paper-plane"></i>
</span>
<ul className="dropdown-menu">
<li><a onClick={() => this.sendMsg(post.user.id)}>搬运 通知</a></li>
<li><a onClick={() => this.sendMsg(post.user.id)}>盗图 通知</a></li>
</ul>
</div>

Expand Down

0 comments on commit 20dd5dd

Please sign in to comment.