2017-06-06 81 views
0

不是什麼大不了的事,但它使我的測試有點難看。我使用Vuelidate來處理我的數據驗證,即使有在控制檯的渲染分量,我的測試沒有錯誤,我噶測試充滿了這些:Vuelidate警告噶/柴測試

ERROR LOG: '[Vue warn]: Property or method "$v" is not defined on the 
instance but referenced during render Make sure to declare reactive 
data properties in the data option. (found in <Root>).' 

一切仍然運行,我d只是想清理錯誤。

回答

0

添加此介紹您的測試文件:

import Vuelidate from 'vuelidate' 
Vue.use(Vuelidate)