pageA pageB pageC pageD {path:'pageA',name:'pageA',components:{basic:pageA,named:pageC}},{path:'pageB',name:'pageB',components:{basic:pageB,named:pageD}},{path:'pageC',name:'pageC',components:{basic:pageA,//这里或许是pageB,根据上一次点击pageA或者pageB决定的named:pageC}},{path:'pageD',name:'pageD',components:{basic:pageA,//这里或许是pageB,根据上一次点击pageA或者pageB决定的named:pageD}},意思就是:当我点击pageA、pageB时,basic和named区域都会相应改变;但是当我点击pageC获取pageD时,basic区域保留上一次的内容不改变,named区域改变;这个怎么实现
蝴蝶刀刀
相关分类