feat: huaxing-AI智能BAS系统
This commit is contained in:
12
hx-ai-intelligent/src/store/item.ts
Normal file
12
hx-ai-intelligent/src/store/item.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineStore } from 'pinia';
|
||||
|
||||
export const items = defineStore({
|
||||
id: 'items',
|
||||
state() {
|
||||
return { list: [], count: 10 };
|
||||
},
|
||||
getters: {
|
||||
double: (state: any) => state.count * 2,
|
||||
},
|
||||
actions: {},
|
||||
});
|
Reference in New Issue
Block a user