Sign in

canrd-main / canrud-nuxt-front · Files

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • canrud-nuxt-front
  • stores
  • cell.ts
  • feat: 开发计算器页面,prod2-44/45
    eeea666a
    boyang authored
    2024-12-14 15:34:09 +0800  
    Browse Code »
cell.ts 247 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useCellStore = defineStore('cell', () => {
  const cell = ref(null)

  const setCell = (value:any) => {
    cell.value = value
  }

  return {
    cell,
    setCell
  }
})