02 2024 档案
摘要:直接使用A例子是监听不到pinia的变化的!要像B例子写! A错误写法 import mainStore form '@/store/index' const useMain = mainStore() // 假设pinia中有一个count变量(const count = ref(0)) watc
阅读全文
摘要:格式: <type>(<scope>): <subject> type(必选) 用于说明git commit的类别,推荐使用下面的标识: feat:新功能(feature) fix/to:修复bug fix:产生diff并自动修复此问题。适合于一次提交直接修复问题 to:只产生diff不自动修复此问
阅读全文