erlangera

Results 8 comments of erlangera

windows 不支持命令行里的用环境变量,要修改package.josn文件中scripts里相关命令中的环境变量,直接使用对应的值。 例如jaeger-ui/packages/plexus/package.json中"prepublishOnly": "$npm_execpath build",$npm_execpath 改为yarn; "build": "NODE_ENV=production npm-run-all -ln --serial _tasks/clean/* _tasks/bundle-worker --parallel _tasks/build/**",NODE_ENV=production去掉要用这个变量的地方直接用值production代替,如"_tasks/build/umd": "webpack --mode $NODE_ENV --config webpack.umd.config.js"处。 类似的还要处理jaeger-ui/packages/jaeger-ui/package.json,才能让项目运行起来。

Windows does not support the use of environment variables in the command line. You need to modify the environment variables in the relevant commands in the _scripts_ in the _package.josn_...

我推测的主要原因是在 `/src/core/components/keep-alive.ts`里面清除缓存的方法里面有个判断 ` if (entry && (!current || entry.tag !== current.tag)) {`导致如果要清除的Entry的tag与当前实例tag相同则跳过了强制destroy,个人认为这里应该使用vnode的key进行进一步判断。如 ` if (entry && (!current || entry.tag !== current.tag || entry.componentInstance.$vnode.key !== current.key)) {` ```typescript function pruneCacheEntry( cache:...

Vant的V2版本也有这个现象,好像是动画造成的,关掉动画duration=0 试试。深层原因可能是动画使用的定时器requestAnimationFrame的平台差异造成的。 @Pentium286 @shangcj1992

#10152 看下这个,好像说这个现象是正常的 @caoyingming

使用props把visible为false的节点禁用试试 `:props="{ isabled: (data, node) => !node.visible }"`

`onload` event on iframe does not fire when resources load from local cache. When I disable cache in network tab it works well, you can see something about it #2864.

My suggest is replace code` html2canvas.js`: ``` DocumentCloner.prototype.toIFrame = function (ownerDocument, windowSize) { var _this = this; var iframe = createIFrameContainer(ownerDocument, windowSize); if (!iframe.contentWindow) { return Promise.reject("Unable to find iframe...