摘要: 一、文字提示tooltip样式修改 <el-tooltip class="item" effect="light" content="文本内容" placement="top-start" popper-append-to-body="false"> <span> XXXX</span> </el- 阅读全文
posted @ 2022-10-27 15:08 树叶铃铛 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 一. state取值 1.直接从store实例取值 2.使用mapState取值的多种方法 模块里的写法 ...mapState('moduleName', ['xxx']), 官网的文档 3.使用module中的state 二、mutation方法触发 1. 直接commit获取(store根目录 阅读全文
posted @ 2022-10-27 11:35 树叶铃铛 阅读(354) 评论(0) 推荐(0) 编辑