自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 资源 (1)
  • 收藏
  • 关注

原创 ├F10: AM┤ [vite] hmr update /App.vue?vue&type=style&index=0&lang.scss

使用vue 3.0 开发,运行项目报错【├F10: AM┤ [vite] hmr update /App.vue?vue&type=style&index=0&lang.scss】solution:重新安装sass loadernpm install sass-loader node-sass -D

2022-05-30 11:34:12 2869 1

原创 微信小程序体验版起始页路径出错,显示Page “pages/ser/index“ has not been registered yet

一个粗心的错误,记录一下:微信小程序更改了起始页,同时压缩了wxml文件,上传体验版本测试,进入小程序页面一直显示空白,看后台调试说明一直显示:Page "pages/ser/index" has not been registered yet.Update view with init datapages/ser/index: onLoad have been invokedpages/ser/index: onShow have been invoked"pages/ser/index"是

2022-04-14 16:35:56 2150

转载 本地存储localStorage的用法总结

本文转载自:[星河几重-博客园](https://www.cnblogs.com/cdnotes/p/14670421.html)在HTML5中,新加入了一个localStorage特性,这个特性主要是用来作为本地存储来使用的,解决了cookie存储空间不足的问题(cookie中每条cookie的存储空间为4k),localStorage中一般浏览器支持的是5M大小,这个在不同的浏览器中localStorage会有所不同。localStorage的优势与局限localStorage的优势lo

2022-04-07 10:05:02 515

原创 微信公众号跳转到指定的第三方微信小程序页面

微信公众号

2022-03-26 17:10:49 9017 2

原创 uniapp开发微信小程序【Bug】记录

使用uniapp开发微信小程序【Bug】合集在HBuilder x运行正常,但是运行到微信开发者工具就报错快速找到错误位置->右键选择格式化文档1.报错:Bad attrdatawith message使用的是嵌套数组:data:data() { return { boxArray: [{ id: 1, type: 'aa', items: [{ name: 'dd' }] }, { id: 2, type: 'bb', it

2021-11-19 12:18:28 2607

原创 Vue/uniapp项目中,使用Base64转码和解码

Vue/uniapp项目中,使用Base64转码和解码将字符串型转换为Base64,要做到兼容引入Base64,没有引入js-base64(1)引入Base64.jsnpm install base-64(2)在使用页面的<script></script>中引入:import Base64 from 'base-64'(3)在逻辑代码中使用:let keywords = 'abc@666'let key = Base64.encode(keywords) //

2021-11-12 10:07:27 5970

原创 [渲染层网络层错误] Failed to load local image resource undefined the server responded with a status of 500

[渲染层网络层错误] Failed to load local image resource /page/login/undefined the server responded with a status of 500使用uni-app开发微信小程序,在HBuilder和微信开发者工具图片都显示正常,但是在微信开发者工具编译加载图片时,报图片为undefined原因:页面初次加载时,图片还没加载出来,为空,使用计算属性Compute()解决。使用页面HTML代码 <view class=

2021-11-03 11:04:49 4136

原创 uni-app实现简单的倒计时

1.text.vue 页面代码<view class="will-back-after">Will back after<text>{{countdownTime}}s</text></view>2.data()里面声明countdownTime:data() { return { countdownTime: 5 } }3.methods里面写方法:我这里是倒计时5秒后返回首页。getCountdownTime() {

2021-08-26 16:23:16 3612

原创 在Vue项目中引入Echarts图表

在Vue项目中引入Echarts图表安装echarts插件 npm install echarts --save在package.json中可以找到如下,即安装成功:"dependencies": { "echarts": "^4.8.0", },2.在main.js中引入import Echarts from 'echarts' // 引入Echarts插件// 注册Echarts插件Vue.prototype.$echarts = Echarts3.在Home.v

2021-06-22 11:24:54 1887 1

原创 Vue项目配置本地访问地址和IP访问地址

Vue项目配置本地访问地址和IP访问地址1.在config/index.js配置:dev: { host: '0.0.0.0',}2.在build/webpack.dev.config.js更改compilationSuccessInfo的message,如下:compilationSuccessInfo: { // messages: [`Your application is running here: http://${devWebpackConfig.devSe

2021-06-21 10:03:14 2990

原创 Webstorm2020.3创建Vue.js项目以及处理Webstorm Terminal报‘vue‘不是内部命令

1.I meet a bug when I build a Vue.js Project in WEbStorm v.2020.3 and I enter ‘Vue init webpack’ in terminal.It was tips"‘vue’ is not an internal commad".And then I found that I forgot configure the node.js and vue.cmd in (System)Environment variable.So I

2021-06-08 11:04:37 370 1

原创 Could not create connection to database server. Attempted reconnect 3 times. Giving up.

Could not create connection to database server. Attempted reconnect 3 times. Giving up.IntelliJ Idea 2020.3导入Maven项目并运行时报错:Could not create connection to database server. Attempted reconnect 3 times. Giving up.解决:在Application.yel数据库配置后面加上serverTimezone

2021-06-07 15:51:07 143

原创 前后端分离——为什么说Vue不利于SEO?

前后端分离——为什么说Vue不利于SEO?1.什么是SEO?SEO是Search Engine Optimization的缩写,意思是“搜索引擎优化”。简单地说,SEO优化就是人们在各浏览器通过搜索结果获得网站流量,提升网站排名的一种技术实现过程。2.为什么说Vue不利于SEO?首先,搜索引擎的实现是基于爬虫(Python)原理,先抓取并解析你网站的URL地址,然后获取该网址的HTML源代码并解析。而Vue,js的页面数据渲染依赖于其数据绑定机制,并且Vue.js语法是基于JavaScript。

2021-06-07 10:30:34 3160 2

转载 箭头函数(=>)和普通函数(function)的区别

JavaScript中箭头函数=>和普通函数function的区别—2021前端高频面试题转载自:作者:阮一峰 ECMAScript6 入门和博客园一、区别:1.箭头函数与普通函数写法不同//箭头函数//var声明变量时var fn = (a, b)=>{ return a+b};//let声明变量时let foo = () => { console.log('foo');}//function 普通函数//上述var等同于function fn(a,

2021-05-25 15:45:24 1772

原创 Unable to install Intel® HAXM HAXM device is not found. Enable VT-x in your BIOS security settings,

HAXM无法安装1.插入flutter插件、点击File/Setting/Appearance & Behavior/System Setting/Android SDK、更新Android Studio工具后,虚拟机无法启动,提示“Unable to install Intel® HAXM HAXM device is not found. ”2.D:\AndroidStudio\sdk\extras\intel文件夹下为空3.解决方法:(1)控制面板-程序和功能->卸载Intel

2021-05-24 18:45:33 10283 10

bootstrap-4.5.2-dist.zip

制作响应式网站必备js和css——bootstrap-4.5.2-dist.zip,官网下载的真实有效!

2020-09-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除