不爱贞子爱爽子
バキューン
上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 1、安装electron插件 yarn add --dev electron yarn add -D electron-builder 2、修改vite.config.js/vite.config.ts base 指向dist base: './' 3、增加electron的配置文件 electro 阅读全文
posted @ 2023-03-07 20:40 不爱贞子爱爽子 阅读(1311) 评论(0) 推荐(0) 编辑
摘要: 1、数组对象去重 this.polluteNumOptions = [ { remark: 'aa', name: 'test' }, { remark: 'bba', name: 'test1' }, { remark: 'aa', name: 'test' } ] let obj = {}; t 阅读全文
posted @ 2023-02-01 10:30 不爱贞子爱爽子 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 修改以前写的2.x的加载指令 vue2.x自定义指令-花瓣加载组件传送门 加载组件 loadingComponent/LoadingComponent1.vue <template> <div class="LoadingComponent" v-show="visible"> <div class 阅读全文
posted @ 2022-05-12 11:11 不爱贞子爱爽子 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 因为部分原因需要调用其他网页的api,类似空气质量的信息 1、ajax 最开始的操作 $.ajax({ type: 'GET', // 默认值: "GET")。请求方式 ("POST" 或 "GET") dataType: 'jsonp', // 预期服务器返回的数据类型:JSONP 格 阅读全文
posted @ 2022-04-20 17:41 不爱贞子爱爽子 阅读(543) 评论(0) 推荐(0) 编辑
摘要: 花瓣效果如下,当然是一直转动的 目录结构 src目录下新增directive目录,用来存放自定义指令 新建loading目录,里面存放如下文件index.js loadingComponent 文件夹 loadingComponent 里面存放如下文件 index.js loadingCompone 阅读全文
posted @ 2022-03-31 10:46 不爱贞子爱爽子 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1、卸载2.x npm uninstall vue-cli -g 2、安装新版本 cnpm install -g @vue/cli npm install -g @vue/cli yarn global add @vue/cli 3、创建项目 vue create <Project Name> cm 阅读全文
posted @ 2021-12-07 10:57 不爱贞子爱爽子 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 电脑磁盘出现了问题导致代码丢失了,刚好最近的代码都没有上传到git,真的很尴尬。 1、下载node js,前端开发的小伙伴都会有。 2、下载模拟器,夜神模拟器安卓版。官网https://www.yeshen.com/ 3、下载反编译代码 git:https://gitee.com/ksd/wxapp 阅读全文
posted @ 2021-10-18 15:13 不爱贞子爱爽子 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 环境:material_dialogs: ^1.1.0链接:https://lottiefiles.com/featured 免费动画文件下载 需要注册 https://pub.flutter-io.cn/packages/material_dialogs 文档动画文件引入:pubspec.yaml 阅读全文
posted @ 2021-08-06 11:03 不爱贞子爱爽子 阅读(192) 评论(0) 推荐(0) 编辑
摘要: toastDemo.dart import 'package:flutter/material.dart'; import 'dart:async'; class ToastHelper { static const style = TextStyle( color: Colors.white, f 阅读全文
posted @ 2021-08-02 15:09 不爱贞子爱爽子 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 环境: flutter sdk [√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19042.1110], locale zh-CN) shared_preferences 缓存 shared_prefere 阅读全文
posted @ 2021-07-30 16:00 不爱贞子爱爽子 阅读(345) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页

! !