Zhang You

Results 3 issues of Zhang You

flow设置只读模式后,点击事件等也不触发了,有没有方法做到只读状态但是可以触发自定义事件呢?

复现路径: 1. 添加一个 3 * 3 的表格,填入内容 2. 选中所有单元格,点击工具栏中的剧中操作 ![image](https://user-images.githubusercontent.com/3273449/69407615-e720ab00-0d3f-11ea-8aba-022111f4abb0.png) 3. 设置剧中完成后,表格被合并成一行了,如下图 ![image](https://user-images.githubusercontent.com/3273449/69407668-0b7c8780-0d40-11ea-985d-2feb9e849ab1.png) 4. 如果选中6行时,设置居中会导致js error 整个编辑器崩溃了 ![image](https://user-images.githubusercontent.com/3273449/69408153-2d2a3e80-0d41-11ea-89dd-cb9d6dbfe7ac.png) ![image](https://user-images.githubusercontent.com/3273449/69408185-43d09580-0d41-11ea-82a1-cd4348923abb.png) 期望结果,所有单元格内容居中,表格显示如下图: ![image](https://user-images.githubusercontent.com/3273449/69407757-47afe800-0d40-11ea-8b69-ade9b50b3ded.png)

![image](https://user-images.githubusercontent.com/3273449/31756442-baef3bc2-b469-11e7-9cb6-df2f0d836d5e.png) ![image](https://user-images.githubusercontent.com/3273449/31756458-cdde9732-b469-11e7-8764-01e105ded026.png) 图一是绑定v-tap 到span上,图二是span:after 有transition, 只要开启transition这行css, v-tap只在第一个点击的元素上触发,后面其它的元素不触发该事件,注释掉transition 这行css就正常了。 为了验证是v-tap问题,我换了@click 事件,均都正常触发了事件执行 ![image](https://user-images.githubusercontent.com/3273449/31756603-817150f0-b46a-11e7-948c-a96da54fedeb.png)