React 小吃店显示在弹出窗口后面

时间:2021-06-17 07:53:20

标签: javascript reactjs ecmascript-6 react-hooks frontend

我正在使用 react-notifications-component 小吃店,但我遇到了一个问题,即我的小吃店出现在弹出窗口后面。有没有办法应用zindex?

使用 。但没有用

   store.addNotification({
        // title: "Error",
        message: 'Please select option first',
        type: 'danger', // 'default', 'success', 'info', 'warning','danger'
        container: 'top-right', // where to position the notifications
        dismiss: {
          duration: 1000000
        }
      })

enter image description here

0 个答案:

没有答案
相关问题