提示框组件

说明

提供管理后台提示模态框组件

示例

提示模态框
@param  noticeContent  提示文字
@param  show  是否显示

HTML
<notice :show="showNotice">
  <p slot="content" v-cloak>{{noticeContent}}</p>
</notice>

Vue实例
show:function(){
    var self = this;
    this.showNotice = true;
    setTimeout(function(){
        self.showNotice = false;
    },1000)
}

results matching ""

    No results matching ""