王露 hace 2 años
padre
commit
b390da685f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      digital-park-web/digital-park/src/utils/common.js

+ 2
- 2
digital-park-web/digital-park/src/utils/common.js Ver fichero

@@ -14,7 +14,7 @@ export const routerOpenInNewWindow = routerPath => {
* @returns
*/
export const formatImg = path => {
return path ? `${process.env.VUE_APP_PARK_DOMAIN}common/getImg?path=${path}` : "";
return path ? `${process.env.VUE_APP_PARK_DOMAIN}/common/getImg?path=${path}` : "";
// return path ? `http://192.168.18.236:18888/common/getImg?path=${path}` : "";
};

@@ -24,7 +24,7 @@ export const formatImg = path => {
* @returns
*/
export const formatVideo = path => {
return path ? `${process.env.VUE_APP_PARK_DOMAIN}common/getVideo?path=${path}` : "";
return path ? `${process.env.VUE_APP_PARK_DOMAIN}/common/getVideo?path=${path}` : "";
};

/**

Cargando…
Cancelar
Guardar