随笔分类 -  前端-前端项目工作

上一页 1 2 3 4 5 6 ··· 17 下一页
前端-前端项目工作
摘要: 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(6) 评论(0) 推荐(0) 编辑
摘要:getAction('/deparment/list',{}) 第一个参数是请求的接口url,第二个参数是需要传的请求接口需要传的参数 例如需要传page=1和limit=5,第二个参数就要像这样写{page:1,limit:5} 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(26) 评论(0) 推荐(0) 编辑
摘要:解决vuex刷新数据消失 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(15) 评论(0) 推荐(0) 编辑
摘要:Vue router 如何传参 params、query 是什么? params:/router1/:id,这里的 id 叫做 params。例如/router1/123, /router1/789 query:/router1?id=123,这里的 id 叫做 query。例如/router1?i 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(20) 评论(0) 推荐(0) 编辑
摘要:修改bug 很显然 选项卡不能重复 Content.vue <template> <div class="table-list-page"> <!--el-radio 实现按钮的单选 第一行的设置--> <el-row :gutter="20"> <el-col :span="6"> <div> < 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(82) 评论(0) 推荐(0) 编辑
摘要:代码复制的影响 手动删除 ctrl f 全部删除 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(17) 评论(0) 推荐(0) 编辑
摘要:<template> <el-table :data="tableData" style="width: 100%"> // :data="用于存放请求数据回来的数组" <el-table-column label="索引值" width="400"> <template slot-scope="s 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(6) 评论(0) 推荐(0) 编辑
摘要:<style> body{ overflow:hidden; } .login-box { margin-top: -10rem; padding: 5px; } .card { border-radius: .45rem } .form-group { text-align: left; } </ 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(19) 评论(0) 推荐(0) 编辑
摘要:第一步 <u-form-item label="开始日期" prop="startTime" label-width="150"> <u-input type="select" :select-open="start_time_show" v-model="form.startTime" place 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(60) 评论(0) 推荐(0) 编辑
摘要:增加验证规则 <u-form :model="form" :rules="rules" ref="uForm" :errorType="errorType"> <navigator url="../LevineHua-editor/LevineHua-editor" class="single"> 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(37) 评论(0) 推荐(0) 编辑
摘要:<template> <view class=""> <u-subsection :list="list" :current="current" mode="button" :animation="true" bg-color="white" button-color="white" @change 阅读全文
posted @ 2022-09-16 22:45 前端导师歌谣 阅读(56) 评论(0) 推荐(0) 编辑
摘要:beforeUpload(file) { console.log(file) var testmsg=file.name.substring(file.name.lastIndexOf('.')+1) const extension = testmsg 'mp4' + '' const extens 阅读全文
posted @ 2022-09-16 22:44 前端导师歌谣 阅读(16) 评论(0) 推荐(0) 编辑
摘要:getAction("/task/" + id + "/release").then(res => { console.log(res, 8888) if (res.code == 404) { this.$message({ message: res.msg, type: 'error' }); 阅读全文
posted @ 2022-09-16 22:44 前端导师歌谣 阅读(6) 评论(0) 推荐(0) 编辑
摘要:Js获取当前日期时间及其它操作 var myDate = new Date(); myDate.getYear(); //获取当前年份(2位) myDate.getFullYear(); //获取完整的年份(4位,1970-????) myDate.getMonth(); //获取当前月份(0-11 阅读全文
posted @ 2022-09-16 22:44 前端导师歌谣 阅读(9) 评论(0) 推荐(0) 编辑
摘要:只保留整数部分(丢弃小数部分) parseInt(5.1234); // 5 向下取整(<= 该数值的最大整数,和parseInt()一样) Math.floor(5.1234); // 5 向上取整(有小数,整数部分就+1) Math.ceil(5.1234); // 6 四舍五入(小数部分) M 阅读全文
posted @ 2022-09-16 22:44 前端导师歌谣 阅读(10) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="table-list-page"> <div class="query-area"> <el-date-picker v-model="value1" type="daterange" range-separator="至" start-placehol 阅读全文
posted @ 2022-09-16 22:44 前端导师歌谣 阅读(13) 评论(0) 推荐(0) 编辑
摘要:} this.$confirm('您确定删除吗?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(res=>{ this.loading=true deleteAction(path 阅读全文
posted @ 2022-09-16 22:44 前端导师歌谣 阅读(6) 评论(0) 推荐(0) 编辑
摘要:}, confirmAssociation() { if(this.selected!="") { putAction(this.url.put + '/' + this.task_id + '/bound', {content_id: this.selected}).then(res => { t 阅读全文
posted @ 2022-09-16 22:44 前端导师歌谣 阅读(5) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 17 下一页
点击右上角即可分享
微信分享提示