|
@@ -10,6 +10,12 @@ const api = {
|
|
open: function (config) {
|
|
open: function (config) {
|
|
events.$emit('open', config)
|
|
events.$emit('open', config)
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ * close current page
|
|
|
|
+ */
|
|
|
|
+ closeCurrentPage: function () {
|
|
|
|
+ this.close()
|
|
|
|
+ },
|
|
/**
|
|
/**
|
|
* close route fullPath tab
|
|
* close route fullPath tab
|
|
* @param config
|
|
* @param config
|