上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: //设置单元格 setrowspans() { // 先给所有的数据都加一个v.rowspan = 1 this.list.forEach((item) => { item.rowspan = 1; }); // 双层循环 for (let i = 0; i < this.list.length; 阅读全文
posted @ 2021-01-22 09:57 gggggggxin 阅读(1314) 评论(0) 推荐(0) 编辑
摘要: 1.store const state = { stageWidth: "large" }; const mutations = { CHANGE_WIDTH: (state, str) => { state.stageWidth = str; } }; const actions = { chan 阅读全文
posted @ 2021-01-15 09:56 gggggggxin 阅读(841) 评论(0) 推荐(0) 编辑
摘要: 引入 npm i vue-ueditor-wrap 2.加入文件夹 public/static/UEditor 下载 上面下载 3..页面 <el-form :model="editform" ref="editform" label-width="120px" label-position="le 阅读全文
posted @ 2021-01-13 18:33 gggggggxin 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1.登录之后存储权限到store 2.layout/components/Sidebar/SiderItem.vue <template> <div v-if="!item.hidden"> <template v-if="hasOneShowingChild(item.children, item 阅读全文
posted @ 2021-01-05 16:51 gggggggxin 阅读(225) 评论(0) 推荐(0) 编辑
摘要: //文件流下载 import axios from 'axios'; // 导出全部 download() { this.btnloading = true; axios.get('/admin/annex/guwencard/downloadxcx', { params: { lpid: this 阅读全文
posted @ 2021-01-05 10:20 gggggggxin 阅读(2118) 评论(0) 推荐(0) 编辑
摘要: 1. AppMain局部滚动,可以固定住表头等重要信息 src/layout/components/AppMain.vue .app-main { /*50 = navbar */ height: calc(100vh - 70px); width: calc(100% - 20px); posit 阅读全文
posted @ 2020-12-30 12:10 gggggggxin 阅读(494) 评论(0) 推荐(0) 编辑
摘要: main.js // 修改 el-dialog 默认点击遮照为不关闭 ElementUI.Dialog.props.closeOnClickModal.default = false; Vue.config.productionTip = false; 阅读全文
posted @ 2020-12-25 18:14 gggggggxin 阅读(1205) 评论(1) 推荐(0) 编辑
摘要: App.vue onShow: function () { //新版本更新 if (uni.canIUse('getUpdateManager')) { //判断当前微信版本是否支持版本更新 const updateManager = uni.getUpdateManager(); updateMa 阅读全文
posted @ 2020-12-23 17:54 gggggggxin 阅读(1285) 评论(0) 推荐(0) 编辑
摘要: 全局设置image css //解决图片拉伸 image { height: auto; } 阅读全文
posted @ 2020-12-23 17:53 gggggggxin 阅读(782) 评论(0) 推荐(0) 编辑
摘要: vue.config.js const name = defaultSettings.title || ""; // page title //添加版本号 此处用时间戳 const Timestamp = new Date().getTime(); // 处理 css 时 引入MiniCssExtr 阅读全文
posted @ 2020-12-23 17:52 gggggggxin 阅读(358) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页