windows提交

This commit is contained in:
xin
2025-06-30 13:51:45 +08:00
parent 94336c9ba1
commit d7c7acb018
38 changed files with 4126 additions and 81 deletions

View File

@ -0,0 +1,12 @@
export default {
install(app, options) {
// 将整个 myFileMethod 实例挂载到全局属性 $fileUtils
app.config.globalProperties.$fileUtils = myFileMethod;
// 将 isElectron 函数也挂载到全局属性 $isElectron
app.config.globalProperties.$isElectron = isElectron;
// 如果还有其他全局组件、指令等,也可以在这里注册
// app.component('MyGlobalComponent', MyGlobalComponent);
// app.directive('my-directive', myDirective);
console.log('fileUtilsPlugin 已安装');
}
};