Boxser567
Boxser567
引用错误的问题先不谈,直接解决抛错问题: let width = this.$el.offsetWidth; let height = this.$el.offsetHeight; 改成 let width = this.$el ? this.$el.offsetWidth : 0; let height = this.$el ? this.$el.offsetHeight : 0; 稍微做个判断吧~~ 然后,web端的动效还不错,移动端的就显得比较滞后了,希望拖动的时候可以增加一个遮罩,比较有层次感;
@warpcgd 按照你的写法吧 、移动端确实没有效果、、、: `touchstart(e) { ... this.temporaryData.offsetY = e.targetTouches[0].offsetY }` 移动端 e.targetTouches[0].offsetY 没有这个属性 是拿不到值的,写上去直接是个 undefined,但是控制台没有任何报错,这个数值主要控制移动端滑动的offsetY样式计算,建议跟我一样渣渣的们直接将 e.targetTouches[0].offsetY 改成具体数值 45 或者任意数值,可以和web端达到一样的效果噢,自己调试。
@jordanparker6 I have used Mammoth.js, but it failed because the DOCX content contains a lot of unusual formatting, which is hard to control. maybe you can provide a plugin of...
same error: - macbook 2018 intel i7 - Python 3.11.4 - pip 23.2.1 conda env create -f pytorch18.yml Collecting package metadata (repodata.json): \ WARNING conda.models.version:get_matcher(556): Using .* with relational operator...