Comparing version 1.7.0 to 1.7.1
{ | ||
"name": "@58fe/v5", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "description": "vue components", |
@@ -26,10 +26,10 @@ import Vue from 'vue'; | ||
$vm.$off('confirm'); | ||
$vm.$off('cancel'); | ||
$vm.$off('on-confirm'); | ||
$vm.$off('on-cancel'); | ||
return new Promise((resolve, reject) => { | ||
$vm.$on('confirm', () => { | ||
$vm.$on('on-confirm', () => { | ||
resolve(true); | ||
}); | ||
$vm.$on('cancel', () => { | ||
$vm.$on('on-cancel', () => { | ||
resolve(false); | ||
@@ -36,0 +36,0 @@ }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201025