WeChat applet custom components cannot use the global style problem

This problem only needs to use the global style in the component js:

options: {
    
    
    addGlobalClass: true
  },
Component({
    
    
  options: {
    
    
    addGlobalClass: true
  },
  properties: {
    
    

  },
  data: {
    
    

  },
  methods: {
    
    
  }
})

Guess you like

Origin blog.csdn.net/weixin_43729943/article/details/115279881