feat: 实现心理健康评估系统核心功能
添加心理健康评估系统前端核心组件和功能,包括: 1. 评估表单发送与展示功能 2. 客户信息分析页面 3. 智能回复系统集成 4. 企业微信SDK集成 5. 响应式设计和移动端适配 实现与后端API的交互逻辑,包括客户信息获取、表单提交和智能回复生成
This commit is contained in:
12
src/stores/counter.ts
Normal file
12
src/stores/counter.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ref, computed } from 'vue'
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
export const useCounterStore = defineStore('counter', () => {
|
||||
const count = ref(0)
|
||||
const doubleCount = computed(() => count.value * 2)
|
||||
function increment() {
|
||||
count.value++
|
||||
}
|
||||
|
||||
return { count, doubleCount, increment }
|
||||
})
|
||||
Reference in New Issue
Block a user