funtask-api-demos
Version:
Funtask API 功能演示
2 lines • 1.25 kB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2428cea1"],{3555:function(t,n,s){"use strict";var o=s("6019"),u=s.n(o);u.a},6019:function(t,n,s){},"9b21":function(t,n,s){"use strict";s.r(n);var o=function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div",{staticClass:"funtask-notice-send"},[s("h3",[t._v("API用法")]),s("funtask-code",[t._v(' import funtask from "@suwis/funtask" funtask.notice.send(options) ')]),s("h3",[t._v("options")]),s("funtask-code",[t._v(" { title: '有新版本更新', body: '点击下载', icon: 'https://funtask.dev/funtask.svg', url: 'https://funtask.dev/zh/introduction.html#funtask客户端下载', command: 'api-demo:open' } ")]),s("br"),s("div",[s("mu-button",{staticClass:"btn",attrs:{color:"primary",flat:""},on:{click:t.send}},[t._v("点击发送通知")])],1)],1)},u=[],a={data:function(){return{config:{},apps:[]}},methods:{send:function(){this.$funtask.notice.send({title:"有新版本更新",body:"点击下载",icon:"https://funtask.dev/funtask.svg",url:"https://funtask.dev/zh/introduction.html#funtask客户端下载"})}}},i=a,e=(s("3555"),s("2877")),c=Object(e["a"])(i,o,u,!1,null,null,null);n["default"]=c.exports}}]);
//# sourceMappingURL=chunk-2428cea1.99391821.js.map