fix: app启动报错问题修复

This commit is contained in:
2026-05-28 14:33:10 +08:00
parent 2eb5f30d74
commit 7a75f8b4bf
6 changed files with 70 additions and 23 deletions
+21 -7
View File
@@ -7,13 +7,27 @@ import zIndex from '@/sheep/config/zIndex.js';
import $store from '@/sheep/store';
const sheep = {
$api,
$store,
$url,
$router,
$platform,
$helper,
$zIndex: zIndex,
get $api() {
return $api;
},
get $store() {
return $store;
},
get $url() {
return $url;
},
get $router() {
return $router;
},
get $platform() {
return $platform;
},
get $helper() {
return $helper;
},
get $zIndex() {
return zIndex;
},
};
// 加载Shopro底层依赖