|
|
@ -5,7 +5,7 @@ import $_color from "@Global/utils/module-color";
|
|
|
|
const global = {
|
|
|
|
const global = {
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
$_getPath(subPath = "", is_complete_url = false) {
|
|
|
|
$_getPath(subPath = "", is_complete_url = false) {
|
|
|
|
if (is_complete_url && process.env.MIX_PUSHER_APP_PRODUCT == 'true') {
|
|
|
|
if (is_complete_url && process.env.MIX_PUSHER_APP_HAS_CDN == 'true') {
|
|
|
|
return subPath;
|
|
|
|
return subPath;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
subPath = subPath.startsWith("/") ? subPath.substr(1) : subPath;
|
|
|
|
subPath = subPath.startsWith("/") ? subPath.substr(1) : subPath;
|
|
|
|