11 2022 档案
摘要:1.vue create xx 2.选择jest . 3.执行npm run test:unit 结果: 4.快照测试: import { shallowMount } from '@vue/test-utils' import HelloWorld from '@/components/Hello
阅读全文
摘要:报错原因 使用table时由于columns数据太多,所以将columns中的数据拆分到一个单独的常量js文件中,又因为需要使用customRender,里面有<a-tag>之类的标签,需要使用jsx进行渲染,因此报错 解决方法 地址:https://github.com/vueComponent/
阅读全文