Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged vue组件怎么才能根据vuex

0 votes
367 views
1 answer
    一个后台配置的项目,现在有7个路由级的组件(a,b,c,d,e,f,g),每个界面对应左侧的菜单栏,每个组件都调了几个接口,这些接口有一个入参commoncode是可变的,所以把commoncode放到 vuex state里面 ... () 除了在每个组件里监听commoncode,然后执行created()里面的代码 这个方法,有没有更为简洁的方法?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...