随笔分类 -  vue

摘要:1、初始化 全局定义//main.js//method oneVue.prototype.$EventBus = new Vue();//method twowindow.eventBus = new Vue(); 2、触发事件 使用// use method onethis.$EventBus.$ 阅读全文
posted @ 2022-09-27 17:38 zzs2014 阅读(12) 评论(0) 推荐(0) 编辑
摘要:在表格展示时遇到需要特殊定义的列样式问题,可以通过bodyCell自行定义。 <a-table id="entity_list_tbl" :dataSource="dataList" :rowSelection="{ selectedRowKeys: selectedRowKeys, onChang 阅读全文
posted @ 2022-03-09 15:58 zzs2014 编辑
摘要:接口路径:/api/inpController/getBeds 前台路径:http://199.199.199.199:3000 后台路径:http://199.199.199.199:8082 配置过程: 1 axios的baseUrl必须为代理路径匹配的字符串 axios.create({ ba 阅读全文
posted @ 2021-12-14 10:58 zzs2014 阅读(835) 评论(0) 推荐(0) 编辑
摘要:在vue3中使用的时候,customRender的参数是一个包含了5个参数的对象。 使用的时候,需要根据如下解析: 阅读全文
posted @ 2021-12-10 16:05 zzs2014 阅读(444) 评论(0) 推荐(0) 编辑

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