会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
不爱贞子爱爽子
バキューン
博客园
首页
新随笔
新文章
联系
订阅
管理
上一页
1
2
3
4
5
6
···
11
下一页
2023年4月18日
ubuntu在线服务器python Package安装到离线服务器
摘要: 1、在线服务器导出requirement.txt pip freeze > requirement.txt 该文件生成完毕后,需要做些修改,去掉不需要的库,否则下载的时候会出错。 2、下载whl文件 -> packages pip download -r requirement.txt -d pac
阅读全文
posted @ 2023-04-18 18:55 不爱贞子爱爽子
阅读(268)
评论(0)
推荐(0)
编辑
2023年3月7日
vite项目配置electron 打包,基于打包完成的dist文件
摘要: 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 不爱贞子爱爽子
阅读(1376)
评论(0)
推荐(0)
编辑
2023年2月1日
数组对象的一些快捷用法
摘要: 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)
编辑
2022年5月12日
vue3.x+ts 自定义加载指令-花瓣加载组件
摘要: 修改以前写的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)
编辑
2022年4月20日
vue3.0 访问其他网页api跨域问题 Cross-Origin Read Blocking (CORB) blocked cross-origin response
摘要: 问题描述: 因为部分原因需要调用其他网页的api,类似空气质量的信息 1、ajax 最开始的操作 $.ajax({ type: 'GET', // 默认值: "GET")。请求方式 ("POST" 或 "GET") dataType: 'jsonp', // 预期服务器返回的数据类型:JSONP 格
阅读全文
posted @ 2022-04-20 17:41 不爱贞子爱爽子
阅读(557)
评论(0)
推荐(0)
编辑
2022年3月31日
vue2.x自定义指令-花瓣加载组件
摘要: 花瓣效果如下,当然是一直转动的 目录结构 src目录下新增directive目录,用来存放自定义指令 新建loading目录,里面存放如下文件index.js loadingComponent 文件夹 loadingComponent 里面存放如下文件 index.js loadingCompone
阅读全文
posted @ 2022-03-31 10:46 不爱贞子爱爽子
阅读(127)
评论(0)
推荐(0)
编辑
2021年12月7日
vue 3.x使用
摘要: 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)
编辑
2021年10月18日
wx小程序反编译为js代码
摘要: 电脑磁盘出现了问题导致代码丢失了,刚好最近的代码都没有上传到git,真的很尴尬。 1、下载node js,前端开发的小伙伴都会有。 2、下载模拟器,夜神模拟器安卓版。官网https://www.yeshen.com/ 3、下载反编译代码 git:https://gitee.com/ksd/wxapp
阅读全文
posted @ 2021-10-18 15:13 不爱贞子爱爽子
阅读(255)
评论(0)
推荐(0)
编辑
2021年8月6日
material_dialogs 动画弹框
摘要: 环境: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 不爱贞子爱爽子
阅读(195)
评论(0)
推荐(0)
编辑
2021年8月2日
flutter 通过widget自定义toast,提示信息
摘要: 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)
编辑
上一页
1
2
3
4
5
6
···
11
下一页
ど
う
も
あ
り
が
と
う
!
!