common-notification-plus

1.1.6 • Public • Published

公共消息模块组件

安装依赖

npm install common-notification-plus

开始使用

1:在需要使用的文件中引入
import SelfNotification from 'common-notification-plus'
Vue.use(SelfNotification)
2:在需要的文件中使用
<SelfNotification :requestUrl="url" :token="token" :isOpen="true" :tenant="tenantID" :socketPath="WebSocketPath"></SelfNotification>
data(){
  return{
    url: 'https://profile-api.ddmarketinghub.com',
    token: "Bearer " + yourIdToken
  }
}
注:requestUrl和token为必传项
isOpen?: 是否初始话是就打开消息列表窗口
tenant?: 1-Zero 2-Hedgehood
socketPath?: websocket请求url

Readme

Keywords

none

Package Sidebar

Install

npm i common-notification-plus

Weekly Downloads

4

Version

1.1.6

License

MIT

Unpacked Size

5.32 MB

Total Files

7

Last publish

Collaborators

  • ddmarketing