15 lines
379 B
TypeScript
15 lines
379 B
TypeScript
import {defineStore} from "pinia";
|
|
import operations from '@/store/expr1/defaultOperation.ts'
|
|
|
|
const useExpr1Store = defineStore('expr1', {
|
|
state: () => ({
|
|
operations: operations,
|
|
memSize: 1000,
|
|
currentState: operations.length,
|
|
tableChanged: false,
|
|
failInfo: ''
|
|
}),
|
|
getters: {},
|
|
actions: {}
|
|
})
|
|
export default useExpr1Store; |