Skip to content

Commit 96d2319

Browse files
author
lin-xin
committed
修复es6语法
1 parent d5ffc8f commit 96d2319

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Toast.install = function (Vue, options) {
4848
},
4949
}
5050
},
51-
render(h) {
51+
render: function(h) {
5252
if(!this.show) return
5353
return h(
5454
'div',
@@ -100,7 +100,7 @@ Toast.install = function (Vue, options) {
100100
tip: tip
101101
}
102102
},
103-
render(h) {
103+
render: function(h) {
104104
if(!this.show) return
105105
return h(
106106
'div',

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue2-toast",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A mobile toast plugin for vue2.",
55
"keywords":["vue.js","vue-plugin","toast"],
66
"main": "lib/index.js",

0 commit comments

Comments
 (0)