feat:增加打印功能
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { ZERO } from "../dataset/constant/Common"
|
||||
|
||||
export function writeText(text: string) {
|
||||
if (!text) return
|
||||
window.navigator.clipboard.writeText(text.replaceAll(ZERO, `\n`))
|
||||
}
|
||||
Reference in New Issue
Block a user