2022年6月1日
摘要: //求和相关的配置 export default { namespaced:true, actions:{ jiaOdd(context,value){ console.log('actions中的jiaOdd被调用了') if(context.state.sum % 2){ context.com 阅读全文
posted @ 2022-06-01 22:44 weakup 阅读(34) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <h1>当前求和为:{{sum}}</h1> <h3>当前求和放大10倍为:{{bigSum}}</h3> <h3>我在{{school}},学习{{subject}}</h3> <h3 style="color:red">Person组件的总人数是:{{perso 阅读全文
posted @ 2022-06-01 22:17 weakup 阅读(20) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <h1>当前求和为:{{sum}}</h1> <h3>当前求和放大10倍为:{{bigSum}}</h3> <h3>我在{{school}},学习{{subject}}</h3> <select v-model.number="n"> <option value=" 阅读全文
posted @ 2022-06-01 22:02 weakup 阅读(18) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <h1>当前求和为:{{sum}}</h1> <h3>当前求和放大10倍为:{{bigSum}}</h3> <h3>我在{{school}},学习{{subject}}</h3> <select v-model.number="n"> <option value=" 阅读全文
posted @ 2022-06-01 20:50 weakup 阅读(23) 评论(0) 推荐(0) 编辑