http
This commit is contained in:
parent
69f22de4ff
commit
ac408a3281
@ -18,7 +18,7 @@ export default class ServiceExtImpl extends IdlServiceExtStub {
|
|||||||
pasteboard.getSystemPasteboard().getData().then((res) => {
|
pasteboard.getSystemPasteboard().getData().then((res) => {
|
||||||
let pasteData = res.getPrimaryText()
|
let pasteData = res.getPrimaryText()
|
||||||
console.log("lixiao receive paste", pasteData)
|
console.log("lixiao receive paste", pasteData)
|
||||||
tcpRequest(JSON.parse(pasteData)).then(response => {
|
request(JSON.parse(pasteData)).then(response => {
|
||||||
console.log("lixiao success", JSON.stringify(response))
|
console.log("lixiao success", JSON.stringify(response))
|
||||||
callback(0, JSON.stringify({
|
callback(0, JSON.stringify({
|
||||||
code: 0,
|
code: 0,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user