cyy-test-toast
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "cyy-test-toast", | ||
"description": "A Vue.js project", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": "cyy9381 <cyy9381@163.com>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -9,3 +9,3 @@ import testPanel from './panel.vue' | ||
// 4. 添加实例方法 | ||
Vue.prototype.$msg = 'Hello I am test.js123' // 给vue注册一个全局的属性 | ||
Vue.prototype.$msg = 'Hello I am test.js-v5' // 给vue注册一个全局的属性 | ||
Vue.prototype.$myMethod = function (arr) { // 给vue注册一个全局的方法 | ||
@@ -12,0 +12,0 @@ if (arr.length < 0) { |