This commit is contained in:
lixiao 2025-03-06 09:55:43 +08:00
parent 69f22de4ff
commit ac408a3281

View File

@ -18,7 +18,7 @@ export default class ServiceExtImpl extends IdlServiceExtStub {
pasteboard.getSystemPasteboard().getData().then((res) => {
let pasteData = res.getPrimaryText()
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))
callback(0, JSON.stringify({
code: 0,