会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
笨笨白
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
下一页
2022年2月7日
年月日
摘要: return( nowTime: this.$moment(new Date()).format('HH:mm:ss'), nowDay: this.formatDate(), nowWeek: this.getWeekDate(), ) methods:{ // 年月日 formatDate()
阅读全文
posted @ 2022-02-07 15:19 笨笨白
阅读(115)
评论(0)
推荐(0)
2021年12月1日
vscode 好用的插件
摘要: html.json.code-snippets 以下是两个配置: { /*常用window监听*/ "Print to window.addEventListener": { "scope": "javascript,typescript", "prefix": "add", "body": ["w
阅读全文
posted @ 2021-12-01 08:57 笨笨白
阅读(296)
评论(0)
推荐(0)
2021年11月30日
nuiapp 登录流程记之
摘要: import cookies from 'weapp-cookie' // 点击登录按钮 formSubmit: function(e) { const params = { password: this.base64Encodes(this.form.password), tenantName:
阅读全文
posted @ 2021-11-30 17:31 笨笨白
阅读(142)
评论(0)
推荐(0)
2021年11月29日
uniApp 随手记
摘要: 一般页面跳转: uni.navigateTo({ url: '/pages/questions/practice/index', }) 传参页面跳转 uni.navigateTo({ url: '/pages/questions/practice/index? name’ + typeName ,
阅读全文
posted @ 2021-11-29 17:40 笨笨白
阅读(244)
评论(0)
推荐(0)
2021年8月23日
表单验证
摘要: 1. formRules: { newPassword: [ { required: true, message: '请输入新密码', trigger: 'blur' } ], oldPassword: [ { required: true, message: '请输入当前密码', trigger:
阅读全文
posted @ 2021-08-23 17:28 笨笨白
阅读(64)
评论(0)
推荐(0)
远程搜索及下拉多选
摘要: 1. <el-select v-if="isEdit" v-model="form.employerIds" multiple filterable remote reserve-keyword placeholder="请输入关键词" @change="changeEmployerIds" :re
阅读全文
posted @ 2021-08-23 16:59 笨笨白
阅读(340)
评论(0)
推荐(0)
上传头像图片
摘要: 1. <div class="avatar" style="text-align: center;"> <img :src="avatarUrl ? avatarUrl : defaultAvatar" alt="用户头像图片"> <p style="margin-top: 10px;"> <el-
阅读全文
posted @ 2021-08-23 16:48 笨笨白
阅读(74)
评论(0)
推荐(0)
导入文件的写法
摘要: 1. <el-button type="" @click="upload">导入学员</el-button> 2. upload(){ this.$refs['files'].click() } 3. <input style="display: none" ref="files" @change=
阅读全文
posted @ 2021-08-23 16:43 笨笨白
阅读(86)
评论(0)
推荐(0)
当下拉框不能选择时
摘要: changeVal(){ this.$forceUpdate() },
阅读全文
posted @ 2021-08-23 16:39 笨笨白
阅读(73)
评论(0)
推荐(0)
2021年6月9日
重复传参 利用qs
摘要: import qs from 'qs' /** * 错题查询 * @param {} params */ export const questions = (data) => { return request({ url: `${url}/questions/error-questions`, me
阅读全文
posted @ 2021-06-09 15:18 笨笨白
阅读(60)
评论(0)
推荐(0)
1
2
3
4
下一页
公告