会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Qinhr
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2022年12月5日
react生成二维码
摘要: 包:npm install qrcode.react --save import React, { Component } from 'react'; import QRCode from 'qrcode.react'; export default class Qrcode extends Com
阅读全文
posted @ 2022-12-05 20:31 QinHaoRan
阅读(234)
评论(0)
推荐(0)
2022年11月24日
echarts的宽高大小
摘要: grid: { // 居右 x: 50, // 居上 y: 50, // 居左 x2: 100, // 距下 y2: 40, },
阅读全文
posted @ 2022-11-24 13:57 QinHaoRan
阅读(102)
评论(0)
推荐(0)
2022年11月7日
elenemt,tooltip的多种用法之一
摘要: <el-tooltip placement="top" v-for="ar in kuan" :key="ar.id"> <div slot="content" class="tips-content text-tips-content"> <div class="rule-box"> {{ ar.
阅读全文
posted @ 2022-11-07 17:49 QinHaoRan
阅读(89)
评论(0)
推荐(0)
总秒数转时分秒
摘要: fun(zms) { let h = Math.floor(zms / 3600) < 10 ? "0" + Math.floor(zms / 3600) : Math.floor(zms / 3600); let m = Math.floor((zms / 60) % 60) < 10 ? "0"
阅读全文
posted @ 2022-11-07 17:44 QinHaoRan
阅读(79)
评论(0)
推荐(0)
2022年11月4日
elenemt各种回显后不能点击和选的的解决通用方法
摘要: 直接强制刷新 $forceUpdate 例如:这是个单选框 <el-radio-group v-model="form.wednesday"> <el-radio label="0" @change="$forceUpdate()">白班</el-radio> <el-radio label="1"
阅读全文
posted @ 2022-11-04 17:12 QinHaoRan
阅读(168)
评论(0)
推荐(0)
2022年10月22日
vue里面echarts的使用
摘要: 一、先安装echarts--Handbook - Apache ECharts; 二、在min的文件中引入 Vue.prototype.$echarts = echarts; import * as echarts from 'echarts'; 三、在html里面增加一个div设置一个id <te
阅读全文
posted @ 2022-10-22 14:38 QinHaoRan
阅读(50)
评论(0)
推荐(0)
2022年10月9日
uniapp安卓发布后不要启动页或者换掉启动页
摘要: "splashscreen": { "androidStyle": "common", "alwaysShowBeforeRender": false, "waiting": true, "autoclose": true, "delay": 0 } 把上面代码,贴到manifest.json这文件
阅读全文
posted @ 2022-10-09 17:46 QinHaoRan
阅读(1409)
评论(0)
推荐(0)
2022年10月8日
uniapp安卓发布
摘要: 一、现在HBuilder上面打包。 1、 2、 3、 二、下载uniapp官网的SDK(https://nativesupport.dcloud.net.cn/AppDocs/download/android) !!!注意SDK的版本号要和HBuilder的版本号一致要不然会报错 1, 2,下载完毕
阅读全文
posted @ 2022-10-08 16:51 QinHaoRan
阅读(567)
评论(0)
推荐(0)
2022年7月27日
uniapp全局变量
摘要: 创建 <script> export default { onLaunch: function() { console.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!'); console.log('App Launch');
阅读全文
posted @ 2022-07-27 19:24 QinHaoRan
阅读(872)
评论(0)
推荐(0)
用于解决$router.push跳转到一个相同的路由报错
摘要: const originalPush = Router.prototype.push Router.prototype.push = function push (location) { return originalPush.call(this, location).catch(err => er
阅读全文
posted @ 2022-07-27 13:51 QinHaoRan
阅读(251)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告