摘要:
引入:import store from '../../../store/index.js'访问:console.log(store.state.name)如果每个页面都引入store文件非常麻烦,于是->将store挂在到实例中, 访问:console.log(this.$store.state. 阅读全文
摘要:
新安装的sourceTree导入原有的项目,pull-push,报错:Updates were rejected because the tag already exists in the remote.解决办法是:在当前项目文件夹下1,执行命令 获取所有的标签 git pull --tags 2、 阅读全文