v-code-diff icon indicating copy to clipboard operation
v-code-diff copied to clipboard

A vue code diff display plugin, support Vue2 / Vue3

Results 53 v-code-diff issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/76575668/179441587-b144163e-1225-4d63-8a64-08307ca3fbdd.png) 上面字符串:"recordResponse": "{\"code\":\"200\",\"data\":{\"createTime\":\"2022-05-11 14:40:10\",\"createUserName\":\"赵铁军\",\"createUserNo\":\"80037\",\"employeeNo\":\"80037\",\"idCard\":\"211221198110152419\",\"modifiedTime\":\"2022-05-11 14:40:12\",\"modifiedUserNo\":\"80037\",\"status\":\"2\",\"submitTime\":\"2022-05-11 14:40:12\",\"submitUserName\":\"赵铁军\",\"submitUserNo\":\"80037\",\"weeklyId\":\"553007\",\"workDate\":\"2022-05-11 00:00:00\",\"workDay\":\"周三\",\"workDayId\":\"2182485\",\"workTotal\":8.0},\"msg\":\"提交成功\",\"success\":true}", 下面字符串:"recordResponse": "{\"code\":\"200\",\"data\":{\"createTime\":\"2022-05-11 14:40:10\",\"createUserName\":\"赵铁军\",\"createUserNo\":\"80037\",\"employeeNo\":\"80037\",\"idCard\":\"211221198110152419\",\"modifiedTime\":\"2022-05-11 14:40:12\",\"modifiedUserName\":null,\"modifiedUserNo\":\"80037\",\"status\":\"2\",\"submitTime\":\"2022-05-11 14:40:12\",\"submitUserName\":\"赵铁军\",\"submitUserNo\":\"80037\",\"\"80037\",\"status\":\"2\",\"submitTime\":\"2022-05-11 14:40:12\",\"submitUserName\":\"赵铁军\",\"submitUserNo\":\"80037\",\"weeklyDayDetail\":null,\"weeklyId\":\"553007\",\"workDate\":\"2022-05-11 00:00:00\",\"workDay\":\"周三\",\"workDayId\":\"2182485\",\"workTotal\":8.0},\"msg\":\"提交成功\",\"success\":true}",\"553007\",\"workDate\":\"2022-05-11 00:00:00\",\"workDay\":\"周三\",\"workDayId\":\"2182485\",\"workTotal\":8.0},\"msg\":\"提交成功\",\"success\":true}",

代码行数太多,每次左右滚动都要拖到最下面的区域,很不方便 请问怎么限制代码区域显示的最大高度?

Hey, I've been using the package with great success, but I ran into a slight concern. I isolated the component down to lazy loading it by doing something like :...

在properties类型文件内容进行对比时发现,如果第一行为注释,且对比内容没有差异的时候,第一行注释会不显示,希望可以修复一下。 原始数据: ![image](https://user-images.githubusercontent.com/35480636/177938555-12071b0c-2488-4f7d-a1b9-ef0f1cc1d881.png) 展示出来的数据: ![image](https://user-images.githubusercontent.com/35480636/177938616-4277eec2-fe85-4b3f-a57a-cad756e4eef7.png)

![image](https://user-images.githubusercontent.com/56330641/177105985-1c230ce0-38ae-48b0-bba1-7a37672f46be.png)

vite + vue3 vue本地运行开发无问题,发布打包,由于vue使用CDN,https://unpkg.com/[email protected]/dist/vue.global.js 项目运行报错: v-code-diff是最新版本0.3.11 policy:1 Uncaught (in promise) TypeError: Failed to resolve module specifier "vue". Relative references must start with either "/", "./", or "../".

0.3.11版本syncScroll 不生效可以帮忙看下吗

![image](https://user-images.githubusercontent.com/76575668/170401071-17e9a6c4-4755-4d4e-b909-28588619da91.png) ![image](https://user-images.githubusercontent.com/76575668/170401105-1aebf424-3fb6-447c-ad55-998b56ed8eed.png) 这种展示出来左右是错位的是什么原因 左侧数据: { "code": 0, "data": [ "2022-05-18 16:02:30", "2022-05-18 16:02:31", "2022-05-18 16:02:32", "2022-05-18 16:02:33", "2022-05-18 16:02:34", "2022-05-18 16:02:35", "2022-05-18 16:02:36", "2022-05-18 16:02:37", "2022-05-18 16:02:38", "2022-05-18 16:02:39" ],...

export default { name: 'App', components: { CodeDiff }