<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[viz]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/wellchang</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; wellchang]]></copyright><item><title><![CDATA[win11 docker-desktop 4.36.0修改默认存储位置]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/145976435</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/145976435</guid><author>wellchang</author><pubDate>Mon, 03 Mar 2025 09:41:05 +0800</pubDate><description><![CDATA[win11 docker-desktop 4.36.0修改默认存储位置]]></description><category></category></item><item><title><![CDATA[DrissionPage在UOS中使用时浏览器无法链接]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/141824368</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/141824368</guid><author>wellchang</author><pubDate>Mon, 02 Sep 2024 17:07:24 +0800</pubDate><description><![CDATA[DrissionPage在Linux上使用报错:浏览器无法链接]]></description><category></category></item><item><title><![CDATA[使用playright自动下载vscode已安装插件]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/132775415</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/132775415</guid><author>wellchang</author><pubDate>Sat, 09 Sep 2023 11:37:56 +0800</pubDate><description><![CDATA[【python代码】使用playright自动下载vscode已安装插件。]]></description><category></category></item><item><title><![CDATA[golang进行国密4解密注意事项]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/129478220</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/129478220</guid><author>wellchang</author><pubDate>Sun, 12 Mar 2023 17:14:48 +0800</pubDate><description><![CDATA[使用hex.DecodeString来对字符串进行解码为字节数组。]]></description><category></category></item><item><title><![CDATA[Failed to excute ‘append‘ on ‘FormData‘: 2 arguments required, but 1 present]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/127404081</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/127404081</guid><author>wellchang</author><pubDate>Wed, 19 Oct 2022 11:09:39 +0800</pubDate><description><![CDATA[使用element-plus的el-upload组件上传文件时,如果报这个错,那就是data传参中有空数组之类的,可以在before-upload方法中对参数进行校验,然后使用delete map.key来删除.]]></description><category></category></item><item><title><![CDATA[flutter plugin try to see if these plugins support the Android V2 embedding]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/120313228</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/120313228</guid><author>wellchang</author><pubDate>Wed, 15 Sep 2021 17:32:00 +0800</pubDate><description><![CDATA[import

import android.content.Context;
import io.flutter.embedding.engine.plugins.FlutterPlugin;
import io.flutter.plugin.common.BinaryMessenger;


implements添加FlutterPlugin
添加以下代码,酌情修改

    static MethodChannel methodChannel;
    private Context applica.]]></description><category></category></item><item><title><![CDATA[微信小程序page移植成component并在dialog中调用]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/119248141</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/119248141</guid><author>wellchang</author><pubDate>Fri, 30 Jul 2021 15:10:41 +0800</pubDate><description><![CDATA[page移植成component步骤


js文件
构造器由Page修改成Component
var app = getApp();
//require跟page一样放这里
Component({

  behaviors: [],

  properties: {
  	//page中data参数都放这里,比如data中是imageUrl:''
  	//在这里就改写成
  	//imageUrl:{
  	//	type: String,
  	//	value: ''
  	//},
    myPr]]></description><category></category></item><item><title><![CDATA[flutter web调用js带回调函数的3种方法]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/118380176</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/118380176</guid><author>wellchang</author><pubDate>Thu, 01 Jul 2021 10:54:08 +0800</pubDate><description><![CDATA[flutter web调用js带回调函数的3种方法1.直接调用2.转为Promise3.转为Future(推荐)
1.直接调用
///js func
function invoke(index, success, fail){
		if(index &gt; 1) {
			success('succes');
		} else {
			fail('fail');
		}
}

/// dart
@JS('invoke')
external static invoke(int index, void Fu]]></description><category></category></item><item><title><![CDATA[Different stack heights at jump target: 0 != 1]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/109198803</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/109198803</guid><author>wellchang</author><pubDate>Wed, 21 Oct 2020 12:51:40 +0800</pubDate><description><![CDATA[AGPBI: {"kind":"error","text":"com.android.tools.r8.errors.b: 
Different stack heights at jump target: 0 != 1",
"sources":[{"file":"C:\\Users\\dell\\.gradle\\caches\\transforms-2\\files-2.1\\
56e95699514f5f56b8aadd130c5f3bcd\\jetified-QtAndroid-bundled.jar]]></description><category></category></item><item><title><![CDATA[Android Studio 4.2 Canary 8 ~ 10无法启动的原因]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/108653365</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/108653365</guid><author>wellchang</author><pubDate>Thu, 17 Sep 2020 21:19:40 +0800</pubDate><description><![CDATA[# custom Android Studio VM options, see https://developer.android.com/studio/intro/studio-config.html
-Xms4096m
-Xmx4096m
-XX:MaxPermSize=2048m
-XX:ReservedCodeCacheSize=1024m
#一直以来用的以下配置,但是到了Android Studio 4.2 Canary 8之后就无法启动了,
#-XX:+UseConcMarkSweepGC
#对]]></description><category></category></item><item><title><![CDATA[flutter is not a subtype of type ‘Map＜String, dynamic＞‘]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/108383095</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/108383095</guid><author>wellchang</author><pubDate>Thu, 03 Sep 2020 15:00:45 +0800</pubDate><description><![CDATA[Navigator.of(viewService.context)
                                          .pushNamed(
                                              'home',
                                              arguments:{});
                                              //这里传入空]]></description><category></category></item><item><title><![CDATA[ffmpeg叠加2个视频实现一大一小布局,可指定开始时间]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/107812938</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/107812938</guid><author>wellchang</author><pubDate>Wed, 05 Aug 2020 13:16:35 +0800</pubDate><description><![CDATA[ffmpeg叠加2个视频实现一大一小布局,可指定开始时间,生成视频的总时长
ffmpeg -ss 00:00:20 -i test3.mp4 -i test2.mp4 -filter_complex "[1:v]scale=320:240[v1];[0:v][v1]overlay=10:10" -s 640x480  -c:v libx264 -preset ultrafast -r 20 -b:v 200k -t 1200 output.mp4

-ss 00:00:20 test3.mp4开始时间
32]]></description><category></category></item><item><title><![CDATA[Intellij IDEA插件开发之获取本地任意路径搜索结果]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/107098208</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/107098208</guid><author>wellchang</author><pubDate>Fri, 03 Jul 2020 09:02:28 +0800</pubDate><description><![CDATA[//搜索结果
val usageList = mutableListOf&lt;Usage&gt;()
val findModel = FindManager.getInstance(project).findInProjectModel
//搜索路径
findModel.directoryName = "E:\"
findModel.isGlobal = false
findModel.isReplaceState = false
findModel.isProjectScope = false
find]]></description><category></category></item><item><title><![CDATA[intellij idea插件开发之打开find in path]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/107098094</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/107098094</guid><author>wellchang</author><pubDate>Fri, 03 Jul 2020 08:54:58 +0800</pubDate><description><![CDATA[val findModel = FindManager.getInstance(project).findInProjectModel
//搜索的本地路径
findModel.directoryName = "E:\"
findModel.isGlobal = false
findModel.isReplaceState = false
findModel.isProjectScope = false
findModel.moduleName = null
findModel.isWithSubdirect]]></description><category></category></item><item><title><![CDATA[Kotlin: Cannot inline bytecode built with JVM target 1.8]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/107056271</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/107056271</guid><author>wellchang</author><pubDate>Wed, 01 Jul 2020 09:27:00 +0800</pubDate><description><![CDATA[Error:(33, 24) Kotlin: Cannot inline bytecode built with JVM target 1.8 into bytecode
 that is being built with JVM target 1.6. Please specify proper '-jvm-target' option

把下图这里改成1.8就行了

感谢
https://www.icode9.com/content-4-594783.html

...]]></description><category></category></item><item><title><![CDATA[Android Studio Invalid Gradle JDK configuration found. Open Gradle Settings]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/106751866</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/106751866</guid><author>wellchang</author><pubDate>Sun, 14 Jun 2020 21:19:18 +0800</pubDate><description><![CDATA[这里有两种方法


没有设置jdk,打开File-Project Structure-SDK Location,设置JDK Location


把.idea/gradle.xml中的gradleJvm由JDK改成1.8




]]></description><category></category></item><item><title><![CDATA[Formatting failed: 16:88-16:96: Void elements do not have end tags image]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/106714850</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/106714850</guid><author>wellchang</author><pubDate>Fri, 12 Jun 2020 14:22:26 +0800</pubDate><description><![CDATA[在使用vscode编辑vue时提示Formatting failed: "16:88-16:96: Void elements do not have end tags “image”"的解决方法就是设置vetur.format.defaultFormatter.html为除prettyhtml之外的选项


]]></description><category></category></item><item><title><![CDATA[微信小程序数据库更新数据说明]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/106695482</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/106695482</guid><author>wellchang</author><pubDate>Thu, 11 Jun 2020 19:43:13 +0800</pubDate><description><![CDATA[const cloud = require('wx-server-sdk')

cloud.init()

// 云函数入口函数
exports.main = async (event) =&gt; {
	const db = cloud.database()

	try {
		console.log(event)
		var result = await db.collection('home_image').where({
			_id: event.id
		}).update({
			data:]]></description><category></category></item><item><title><![CDATA[docker无法获取gcr.io镜像解决方案]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/106516980</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/106516980</guid><author>wellchang</author><pubDate>Wed, 03 Jun 2020 09:19:17 +0800</pubDate><description><![CDATA[到https://hub.docker.com/搜索你要下载的镜像

然后执行docker pull zhaowenlei/etcd-development,
再执行docker tag zhaowenlei/etcd-development gcr.io/etcd-development/etcd:v3.4.9
最后docker-compose -f docker-compose.stable.yml up

]]></description><category></category></item><item><title><![CDATA[添加任意软件到鼠标右键菜单]]></title><link>https://blog.youkuaiyun.com/wellchang/article/details/106305171</link><guid>https://blog.youkuaiyun.com/wellchang/article/details/106305171</guid><author>wellchang</author><pubDate>Sat, 23 May 2020 19:57:26 +0800</pubDate><description><![CDATA[这里以Sublime Text 3为例

新建addToRightMenu.reg文件,以gbk或gb2312等编码格式保存
替换所有[]中的SublimeText3,这个就是软件在注册表中的名称
替换所有 通过SublimeText3打开 ,这个是右键菜单的显示的名称
替换所有的 E:\SoftWare\Sublime Text 3\sublime_text.exe,这个就是软件执行文件的路径

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT]]></description><category></category></item></channel></rss>