摘要: //该文件用于创建vuex中的store //引入vuex import Vue from 'vue' import Vuex from 'vuex' import axios from 'axios'; import { nanoid } from 'nanoid'; //使用插件 Vue.use 阅读全文
posted @ 2022-11-16 15:30 小白字太白 阅读(102) 评论(0) 推荐(0)
摘要: <template> <div class="count"> <h2 > 当前求和为 :{{sum}}</h2> <h3 > 当前求和放大十倍为为 :{{bigSum}}</h3> <h3 > 我在:{{address}} 学习:{{subject}}</h3> <h3 > 下方组件的总人数 : { 阅读全文
posted @ 2022-11-16 14:18 小白字太白 阅读(56) 评论(0) 推荐(0)
摘要: <template> <div class="count"> <h2 > 当前求和为 :{{sum}}</h2> <h3 > 当前求和放大十倍为为 :{{bigSum}}</h3> <h3 > 我在:{{address}} 学习:{{subject}}</h3> <select v-model.nu 阅读全文
posted @ 2022-11-16 10:33 小白字太白 阅读(80) 评论(0) 推荐(0)
摘要: <template> <div class="count"> <h2 > 当前求和为 :{{sum}}</h2> <h3 > 当前求和放大十倍为为 :{{bigSum}}</h3> <h3 > 我在:{{address}} 学习:{{subject}}</h3> <select v-model.nu 阅读全文
posted @ 2022-11-16 10:06 小白字太白 阅读(22) 评论(0) 推荐(0)
摘要: 当state中的数据需要经过加工后在使用 //该文件用于创建vuex中的store //引入vuex import Vue from 'vue' import Vuex from 'vuex' //使用插件 Vue.use(Vuex); //猪备actions--用于响应组件中的动作 const a 阅读全文
posted @ 2022-11-16 09:18 小白字太白 阅读(165) 评论(0) 推荐(0)