会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
番茄西红柿
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
12
下一页
2021年9月1日
element-ui表单只验证单个字段 - 弹框关闭时清空表单项-表格跨分页多选
摘要: 1. 表单只验证单个字段 this.$refs['form'].validateField('mobile', valid => { if (valid) { // 发送验证码 } }) 2. 弹框关闭时清空表单项 <el-dialog @close="onClose"> <el-form ref=
阅读全文
posted @ 2021-09-01 10:03 番茄西红柿u
阅读(364)
评论(0)
推荐(0)
2021年8月27日
记录
摘要: echart素材网 https://www.makeapie.com/explore.html 微信小程序 日历插件小历同学:https://treadpit.github.io/wx_calendar/v2/api.html#%E8%AE%BE%E7%BD%AE%E5%BE%85%E5%8A%9E
阅读全文
posted @ 2021-08-27 17:23 番茄西红柿u
阅读(23)
评论(0)
推荐(0)
2021年8月23日
vue3使用
摘要: 见文档https://vue-docs-next-zh-cn.netlify.app/guide/installation.html#%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7-cli vite搭建: npm create vite@latest vi
阅读全文
posted @ 2021-08-23 17:20 番茄西红柿u
阅读(160)
评论(0)
推荐(0)
2021年8月17日
小程序引入echarts
摘要: https://github.com/ecomfe/echarts-for-weixin 下载ec-canvas插件 index.wxml <ec-canvas id="mychart-dom-pie" force-use-old-canvas="true" canvas-id="mychart-p
阅读全文
posted @ 2021-08-17 18:44 番茄西红柿u
阅读(215)
评论(0)
推荐(0)
2021年7月12日
json文件中"navigationBarTitleText": "xxxxx"不起反应
摘要: 在app.json 的pages中配置改页面即可 "pages/learningMaterialsDetial/learningMaterialsDetial"
阅读全文
posted @ 2021-07-12 17:29 番茄西红柿u
阅读(149)
评论(0)
推荐(0)
2021年6月25日
微信小程序手写签名
摘要: wxml <view class="wrapper"> <view class="handBtn"> <button catchtap="retDraw" class="can_btn">重写</button> <button catchtap="saveCanvasAsImg" class="ca
阅读全文
posted @ 2021-06-25 17:49 番茄西红柿u
阅读(366)
评论(0)
推荐(0)
2021年5月14日
uni-app
摘要: vue3+ts+vite 1、官网git下载项目代码包 https://gitee.com/dcloud/uni-preset-vue/repository/archive/vite-ts.zip 2、安装sass npm install sass sass-loader --save-dev 3、
阅读全文
posted @ 2021-05-14 20:09 番茄西红柿u
阅读(99)
评论(0)
推荐(0)
2021年4月30日
数组对象中,找到某一最大属性值
摘要: var maxValue = Math.max.apply(Math, data.map(function(item) {return item.nationwideValue}))
阅读全文
posted @ 2021-04-30 09:34 番茄西红柿u
阅读(259)
评论(0)
推荐(0)
2021年4月25日
无序点位的轮播
摘要: <template> <div class="box"> <div class="swipers"> <template v-for="(item, index) in lists" > <div class="item" v-if="index==active" :key="'0'+index"
阅读全文
posted @ 2021-04-25 15:02 番茄西红柿u
阅读(54)
评论(0)
推荐(0)
2021年3月18日
vuex
摘要: 在src下新建store/index.js main.js import store from './store' Vue.use(Vuex) new Vue({ el: '#app', router, store, components: { App }, template: '<App/>' }
阅读全文
posted @ 2021-03-18 09:45 番茄西红柿u
阅读(69)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
12
下一页
公告