This commit is contained in:
gyq
2024-06-24 09:04:57 +08:00
parent ed8b593c1a
commit c4cb307275
2 changed files with 183 additions and 1 deletions

12
src/store/print.js Normal file
View File

@@ -0,0 +1,12 @@
import { defineStore } from "pinia";
export const usePrint = defineStore({
id: "print",
state: () => ({
data: "", // 要打印的数据
}),
actions: {
// 执行打印操作
printHandle(state) {},
},
});