郑诚 (ZhengCheng)
郑诚 (ZhengCheng)
哈挺有意思,感谢分享
@Ratismal 's solution work for me, 2018-6-18 and because I am using Pug, this work: ```javascript vue-markdown(:source='markdown') ``` Full Code: ```javascript div vue-markdown(:source='markdown') ```
Same here 
问一下,以后有可能支持 更新字幕 吗? ### 场景:字幕编辑 用户改了文字后,视频上显示的 ass 字幕也跟着变化。 所以不只是 display 那么简单。 目前看来只能先 destroy() 再 new。改一个字母做这样一次操作。还没实测过这样会不会卡。 只是提一下有这个场景和需求。 希望以后能支持单独 update 某一行字幕(内容,开始时间,结束时间)
@weizhenye 感谢. 只要能编辑 * 开始时间 * 结束时间 * 文字 就够了。 以我的用例而言,不需要 Aegisub 的样式编辑功能。
getCropperImage 返回裁剪坐标 x,y,width, height
### 例子代码 刚好看到这个问题,我把自己项目里上传多张图的代码拿过来。供参考 ```javascript var that = this; for (var index = 0; index < images_array.length; index++) { const path = images_array[index]['crop_src']; (function (path, index, that) { qiniuUploader.upload(path, (res) =>...
话说我没懂题主的这个问题。上传就正常上传好了。 需要 imageslim 就在显示图片的时候加参数就行了。 举例:`filter.wxs` ```javascript var full_url = CDN_URL + image.qiniu_url + "?imageMogr2/auto-orient/strip/format/jpg/interlace/1|imageView2/2/w/1800/q/90"; ``` 图片参数和图片上传是完全不搭边的。不需要这个上传库做任何事情。 还是我哪里理解错了?
## Flie 1: `index.js` (not the entire file, but the most important part) ```js const { app } = require('electron') const { ipcMain: ipc } = require('electron-better-ipc'); ipc.answerRenderer('app.getAppPath', async ()...