摘要: 1. 强制一行的情况很简单 overflow:hidden;//超出的隐藏 text-overflow:ellipsis;//省略号 white-space:nowrap;//强制一行显示 2. 如果要强制两行的话,得用到css3的知识 overflow:hidden; text-overflow: 阅读全文
posted @ 2024-04-26 14:04 bruce_lee_1 阅读(91) 评论(0) 推荐(0) 编辑
摘要: getUrlByCode(code) { const path = `../../assets/images/device/${code}.png`; const modules = import.meta.glob("../../assets/images/device/*",{eager:tru 阅读全文
posted @ 2023-12-16 15:13 bruce_lee_1 阅读(97) 评论(0) 推荐(0) 编辑
摘要: the first step: init git repository git init git add . git commit -m "init" the second step : add remote repository git remote add origin git@192.168. 阅读全文
posted @ 2023-11-29 10:05 bruce_lee_1 阅读(85) 评论(0) 推荐(0) 编辑
摘要: click.stop 阅读全文
posted @ 2023-09-13 11:27 bruce_lee_1 阅读(39) 评论(0) 推荐(0) 编辑
摘要: <el-dropdown-item class="link" @click.native="signout" style="border-top: 1px solid #ddd"> 退出登录</el-dropdown-item> 阅读全文
posted @ 2023-07-12 18:54 bruce_lee_1 阅读(176) 评论(0) 推荐(0) 编辑
摘要: <template> <el-table size="medium" v-loading="tableLoading" :data="tableData.slice((currentPage-1)*pageSize,currentPage*pageSize)" stripe height="100% 阅读全文
posted @ 2023-07-04 15:21 bruce_lee_1 阅读(65) 评论(0) 推荐(0) 编辑
摘要: <el-dialog width="650px" append-to-body :show-close="false" :modal="false" :visible.sync="dialogRegisterVisible"> <el-form v-show="!isLogin" ref="regi 阅读全文
posted @ 2023-07-03 16:33 bruce_lee_1 阅读(89) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="container"> <div class="breadcrumb"> <el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb-item>个人中心</el-breadcr 阅读全文
posted @ 2023-07-03 15:59 bruce_lee_1 阅读(166) 评论(1) 推荐(0) 编辑
摘要: <router-link to="/dataProduct">数据产品</router-link> .router-link-active { border-bottom: 2px solid #fff;} 阅读全文
posted @ 2023-06-30 11:26 bruce_lee_1 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 验证方法var checkName = async (rule, value, callback) => { if (!value) { callback(new Error("不能为空")) }else if (value != "") { var result = this.tableData. 阅读全文
posted @ 2023-03-11 16:01 bruce_lee_1 阅读(16) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示