萌新求指导 Cannot read property '$q' of undefined

在文件中不能使用 $q,

报错提示 Cannot read property '$q' of undefined

萌新求指导