摘要:
任务清单(单文件) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title 阅读全文
摘要:
使用前需要先安装 npm install pinia // state、getter 和 action,我们可以假设这些概念相当于组件中的 data、 computed 和 methods // data可以通过this去调用 // computed就是计算属性,也能从中直接调用data的内容 使用 阅读全文