leofx

Results 3 comments of leofx

声明一个 void 类型的变量没有什么用,因为你只能将它赋值为 undefined 和 null: //会报错 不能将类型“null”分配给类型“void” let unusable: void = null; //不会报错 let unusable: void = undefined;

I solved all my problems; Add two lines of code; ![image](https://user-images.githubusercontent.com/27850030/205537476-249994c7-46e6-433f-b02b-c14f9e2d0823.png)

问题解决了,Safari浏览器 好像不支持异步写入粘贴板,改为同步后没有问题了