no message
Former-commit-id: 37bb7bd8096cc3f7e152f0b5c2a364c5e4e6fef9 Former-commit-id: a45f6374b941f4e286249accf326e70dc82755e2 Former-commit-id: 4f50b4e5fbd283f3e112fd0cfdcb29ed876f790b Former-commit-id: 658786ee9b6049a45e6bdaac66afd90f56fd83b8
This commit is contained in:
8
src/plugin/open/index.js
Normal file
8
src/plugin/open/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
export default {
|
||||
install (Vue, options) {
|
||||
// 打开一个url
|
||||
Vue.prototype.$open = (url = 'https://github.com/FairyEver') => {
|
||||
window.open(url)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user