初始提交:实习工作日志系统(设计方案 + Vue3 应用 + Electron 打包)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { ref } from 'vue'
|
||||
|
||||
// 跨视图定位信号:全局搜索命中后跳转到对应视图并聚焦
|
||||
export const focusDate = ref<string | null>(null)
|
||||
export const focusMemo = ref<number | null>(null)
|
||||
|
||||
// 考勤数据变更信号:打卡、修改时间、补卡、休假后自增,所有考勤展示视图监听并实时刷新
|
||||
export const attendanceChanged = ref(0)
|
||||
export function notifyAttendanceChanged(): void {
|
||||
attendanceChanged.value++
|
||||
}
|
||||
Reference in New Issue
Block a user