From 9658a11666db92c74271f3241e75a9d5e044cce1 Mon Sep 17 00:00:00 2001 From: wangshuaiswim Date: Thu, 12 Jan 2023 17:55:33 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E5=A2=9E=E5=8A=A0instanceStore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/instance.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/store/instance.ts diff --git a/src/store/instance.ts b/src/store/instance.ts new file mode 100644 index 00000000..a97a247e --- /dev/null +++ b/src/store/instance.ts @@ -0,0 +1,7 @@ +import { InstanceModel } from "@/views/device/instance/typings"; +import { defineStore } from "pinia"; + +export const useInstanceStore = defineStore({ + id: 'device', + state: () => ({} as InstanceModel), +}); \ No newline at end of file