You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
344 B
15 lines
344 B
import * as tab from '@/plugins/tab.js'
|
|
import * as modal from '@/plugins/modal.js'
|
|
|
|
export default {
|
|
install(app) {
|
|
// tab工具
|
|
Object.keys(tab).forEach((key) => {
|
|
app.config.globalProperties[key] = tab[key];
|
|
})
|
|
// modal工具
|
|
Object.keys(modal).forEach((key) => {
|
|
app.config.globalProperties[key] = modal[key];
|
|
});
|
|
}
|
|
};
|