07 2020 档案

摘要:1、首先在store文件下创建modules文件夹,在内部新建各个模块的js文件 文件内部写法如下: const oneVuex={ namespaced: true, state:{ oneCount:100, oneNum:50 }, actions:{ oneAcAdd({commit},on 阅读全文
posted @ 2020-07-08 10:11 Alex-Song 阅读(555) 评论(0) 推荐(0) 编辑
摘要:1、新建store文件夹,内部新建index.js 文件内部内容如下: 写法一 import Vuex from "vuex"; import Vue from "vue"; Vue.use(Vuex); // 第一种写法: const state={ count:0, num:100 } cons 阅读全文
posted @ 2020-07-07 14:30 Alex-Song 阅读(3981) 评论(0) 推荐(0) 编辑
摘要:vue中使用element合并表格的行或者列 <template> <div> <el-table :data="tableData" :span-method="arraySpanMethod" border style="width: 100%"> <el-table-column prop=" 阅读全文
posted @ 2020-07-02 10:34 Alex-Song 阅读(1199) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示