最近在用uniapp开发一个微信小程序,页面比较多,然后就发现微信小程序变得卡顿了,不如页面少的时候流程。感觉是小程序开发工具内存不够用造成的,找了一下设置,我的电脑是32G内存,所以直接将内存限制里的1024改为5024自己可以根据自己的电脑配置酌情设置,重新运行一下,瞬间流畅...
3年前 (2022-03-16)
喜欢
vue安装引入echarts报错 修改一下引入方式就可以了。
import * as echarts from "echarts"
...
3年前 (2022-03-14)
喜欢
运行实例
代码
/**
* @Author: 858834013@qq.com
* @Name: index
* @Date: 2022-03-13
* @Desc:
*/
<template>
<div class="parameter&qu...
3年前 (2022-03-13)
喜欢
运行实例
代码
<template>
<div class="echarts1" ref="echarts1">
</div>
</template>
<script&g...
3年前 (2022-03-13)
喜欢
运行实例
代码
<template>
<div class="echarts1" ref="echarts">
</div>
</template>
<script>...
3年前 (2022-03-13)
喜欢
data-wow-delay="0.5s"
<items class="wow bounceInRight" data-wow-delay="0.5s">
<nianchanzhi...
3年前 (2022-03-13)
喜欢
运行实例
代码
<template>
<div class="echarts1" ref="echarts1">
</div>
</template>
<script&g...
3年前 (2022-03-13)
喜欢
使用
<template>
<view class="employers">
<item title="头像">
<!--<uploadhead @getdata="ge...
3年前 (2022-03-12)
喜欢
触发事件
uni.$emit('update',{msg:'页面更新'})
监听事件
uni.$on('update',function(data){
console.log('监听到事件来自 update ,携带参数 msg 为:' + data.ms...
3年前 (2022-03-12)
喜欢
const getNetworkPictures = (img) => {
var imgSrc = ""
var str = new RegExp("http");
console.log(str.test(img))
if (str.test(img))...
3年前 (2022-03-12)
喜欢