这里我的做法是,在Left.vue中,就把每次点击对应的文件路径,一层层的传到GoodList.vue中,这样其实就不需要在Right.vue & GoodList.vue中都做if判断了。
2020-03-29
npm i -g vue-cli 报错
Unexpected token < in JSON at position 6 while parsing near '
Unexpected token < in JSON at position 6 while parsing near '
2020-03-26