Mei

Results comments of Mei

检查一下代码有没有错误 或者 重新编译试试 但是这个提示也太不友好了

have the same problem

> @amenadiel, any thoughts on this? I've spent countless hours on this over the last few months and still cannot get this. try `html2canvas(dom, { scale: 2 })` It is...

请问一下,视频异常错误中的其他cgi错误指的是?比如,得到error.code=2/4,怎么获取video资源请求的状态码呢?

`ffmpeg.exit();` may help you. API: https://github.com/ffmpegwasm/ffmpeg.wasm/blob/master/docs/api.md#ffmpegexit

> Interesting, and to reload FFmpeg I just call [ffmpeg.load()](https://github.com/ffmpegwasm/ffmpeg.wasm/blob/master/docs/api.md#ffmpegload-promise)? `createFFmpeg()`and `ffmpeg.load()`

同样的问题。版本 @[email protected]。最后发现是vue.config.js里的`pages`的`filename`的配置问题。改成这样就可以了 ``` js module.exports = { pages: { index: { entry: 'src/main.ts', template: 'public/index.html', filename: process.env.NODE_ENV === 'production' ? 'build/path/index.html' : 'index.html', // 开发环境需要填index.html才能找到路径 chunks: ['chunk-vendors', 'chunk-common', 'index'] },...

有一个方法,先将html渲染成canvas,再输出pdf文件 There is a way. Render the HTML into a canvas and then output the PDF file. ``` html2canvas(yourdom, { onrendered: function(canvas) { let imgData = canvas.toDataURL('image/jpeg'); //初始化pdf,设置相应格式 format let...

vue的双向绑定是通过`Object.defineProperty()`来劫持各个属性的`setter`,`getter`。 所以,在这个例子中,当我们要给`data`绑定的对象`postData`增加属性时,子组件监听不到`data`的变化。我们可以用`vm.$set( target, key, value )` 来设置对象属性 `this.$set(this.postData, '_id', 'newVal')` simple translation: `postData` is a object. When we add a new property to an observed object, we cannot add it...

如果开发者传递了`on-cancel`方法或者`on-visible-change`,就不应该调用关闭的方法,而是调用开发者传递的方法。 子组件不应该改变父组件传递的prop,应该由开发者决定是否关闭。