otizis
otizis
```javascript Vue.component('currency-input', { template: '\ \ $\ \ \ ', props: ['value'], methods: { // 不是直接更新值,而是使用此方法来对输入值进行格式化和位数限制 updateValue: function (value) { var formattedValue = value // 删除两侧的空格符 .trim() // 保留 2...
不知道大家都用什么框架了呢
遇到了,苦苦研究三天,找到一个方法,添加下面的代码可以做到:当选择内容跨页时,取消框选 在contents.js 的 addSelectionListeners 方法里添加事件监听 ``` this._onSelectionChange = this.onSelectionChange.bind(this); this.document.addEventListener("selectionchange", this._onSelectionChange, { passive: true }); // 添加下面的方法 this.document.addEventListener("selectstart", (event)=>{ const targetNode = document.querySelector(".epub-container"); const sourceLeft = targetNode.scrollLeft targetNode.style.overflow = "auto";...
作者好像不更新了啊
work with maven-jar-plugin , manifest file will lost , how to fixed it?
com.juvenxu.portableconfig.traverser.JarTraverser need update --> ``` JarInputStream jarInputStream = new JarInputStream(new FileInputStream(jar)); **Manifest manifest = jarInputStream.getManifest();** File tmpJar = File.createTempFile(Long.toString(System.nanoTime()), ".jar"); getLogger().info("Tmp file: " + tmpJar.getAbsolutePath()); **JarOutputStream jarOutputStream = null; if(manifest!=null){...
这个选项好像有个问题,全局调色盘的设置打开后似乎只会用第一帧的图像计算,导致后面帧出现的颜色只能从第一帧找相近的。比如第一帧是黑白的,那后面出现彩色的也无法找到彩色的,最后整个gif所有帧全部都变成黑白的了。
最新版本问题还是存在,但是在空格中间打一个字比如 ` 1 `空白的下划线就可以出现。
4.0.3.43 测试不成功