mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-25 01:59:47 +02:00
support author notification
This commit is contained in:
@ -164,6 +164,10 @@ class QuickTalk {
|
||||
content: ta.value,
|
||||
},
|
||||
};
|
||||
if (this.options.author) {
|
||||
data.author =
|
||||
this.options.author.first + "@" + this.options.author.last;
|
||||
}
|
||||
this.request(this.options.api_uri + "/post", data, (ret) => {
|
||||
if (ret.result) {
|
||||
// TODO: more check goes here
|
||||
|
Reference in New Issue
Block a user