防止组件呈现onclick
因此,我有一个仪表板页面,并且其中有一个显示在每个子组件中的应用程序栏。我已经使用Switch设置了子组件,如下所示:
Dashboard.js:
let store = require("store");
const styles = {
root: {
position: "relative",
},
myCard: {
borderRadius: 20,
background: "#f3f3f3",
// boxShadow: '6px 6px 10px...