notice-puge

1.0.2 • Public • Published

notice-puge

default

安装

npm i -save notice-puge
或
yarn add notice-puge

使用

<template lang="pug">
  <div>
    <Notice v-model="notice"></Notice>
  </div>
</template>

<script>
import Notice from 'notice-puge'
export default {
  name: 'home',
  components: {
    Notice
  },
  data () {
    return {
      notice: "XX系统于2018-10-12故障,已下发短信提醒。",
    }
  }
}
</script>

参数

参数       含义         类型  是否必须
text 显示的文字 String true

Readme

Keywords

Package Sidebar

Install

npm i notice-puge

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

2.78 kB

Total Files

5

Last publish

Collaborators

  • puge