摘要: icon在哪格显示就在哪格写 <el-table-column prop="amount2" sortable label="周涨幅"> <template slot-scope="scope"> {{ scope.row. amount2}} <span v-if="scope.row.amoun 阅读全文
posted @ 2023-03-27 10:05 会转圈圈的哆瑞米 阅读(318) 评论(0) 推荐(0)
摘要: <!--表头设置 cell-class-name--> <el-table v-loading="loading" :data="lists" border :cell-class-name="addClass" style="width: 100%" > //修改单元格样式的方法 addClass 阅读全文
posted @ 2023-03-27 10:00 会转圈圈的哆瑞米 阅读(372) 评论(0) 推荐(0)
摘要: el-table__row>td { border: none; } .el-table::before { height: 0px; } 阅读全文
posted @ 2023-03-27 09:57 会转圈圈的哆瑞米 阅读(36) 评论(0) 推荐(0)
摘要: 现象 原因 因为没有将本地的分支与远程仓库的分支进行关联 // 然后输入 git branch 进行查看本地分支: 确定只有master一个分支 // 再输入 git branch -a 查看远程分支: 发现master下面有两个分支: 解决方式 // 使用git pull --rebase是将本地 阅读全文
posted @ 2023-03-27 09:55 会转圈圈的哆瑞米 阅读(51) 评论(0) 推荐(0)
摘要: 现象 在导入Vue项目使用 ' npm i ' 安装node_moduels的时候,终端出现错误如下: 解决 1、在终端输入: npm cache clear --force npm cache clear --force 2、重新运行 npm i 命令 npm i 阅读全文
posted @ 2023-03-27 09:43 会转圈圈的哆瑞米 阅读(240) 评论(0) 推荐(0)
摘要: 一,在使用git pull命令拉取代码时,有时会遇到以下错误信息: error: Your local changes to the following files would be overwritten by merge: ... Please commit your changes or st 阅读全文
posted @ 2023-03-27 09:38 会转圈圈的哆瑞米 阅读(407) 评论(0) 推荐(0)
摘要: 一、对象语法 <div :style="{ color: activeColor, fontSize: fontSize + 'px' }"></div> data() { return { activeColor: 'red', fontSize: 30 } } <div :style="styl 阅读全文
posted @ 2023-03-27 09:25 会转圈圈的哆瑞米 阅读(315) 评论(0) 推荐(0)
摘要: mounted: () { this.getList('', (data) => { console.log(data); }) } methods: { getList (condition) { get_list({...condition}).then(res => { if (res.dat 阅读全文
posted @ 2023-03-27 09:12 会转圈圈的哆瑞米 阅读(1377) 评论(0) 推荐(0)
摘要: 1、新建一个名为marquee.vue的文件,代码如下 <template> <div class="scrollText" ref="outer"> <div class="st-inner" :class="{'st-scrolling': needToScroll}"> <span class 阅读全文
posted @ 2022-07-29 17:36 会转圈圈的哆瑞米 阅读(875) 评论(0) 推荐(0)
摘要: 背景:大部分时候npm run dev 的时候都会报一大堆 too many open files,每次修改完代码后不能自动运行,得重新手动npm run dev 才可以,因为依然可以访问地址查看页面就没有管他,今天查了一下,找到了报错的原因,已经不报错啦!!!! 方案:1、终端切到管理员端;2、输 阅读全文
posted @ 2021-07-23 09:54 会转圈圈的哆瑞米 阅读(5032) 评论(0) 推荐(0)