管道式消毒机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
451 B

  1. import { defineStore } from 'pinia'
  2. export const usePreStore = defineStore({
  3. id: 'preinstall', // id必填,且需要唯一
  4. // state
  5. state: () => {
  6. return {
  7. currentPreId: '',
  8. currentPreConfig: {},
  9. }
  10. },
  11. // actions
  12. actions: {
  13. updateCurrentPreId(currentPreId) {
  14. this.currentPreId = currentPreId
  15. },
  16. updateCurrentPreConfig(currentPreConfig) {
  17. this.currentPreConfig = currentPreConfig
  18. },
  19. },
  20. })