|
|
@@ -38,7 +38,11 @@ const oldRandCode = ref("");
|
|
|
const shareLink = computed(() => {
|
|
|
const base = location.origin;
|
|
|
const p = md5(randCode.value || "");
|
|
|
- return `${base}/#/fireDetails/${props.caseId}?editOrShow=edit&fromRoute=fire&share=1&p=${p}`;
|
|
|
+ if(base.indexOf("localhost") == -1){
|
|
|
+ return `${base}/#/fireDetails/${props.caseId}?editOrShow=edit&fromRoute=fire&share=1&p=${p}`;
|
|
|
+ } else {
|
|
|
+ return `${base}/fire/#/fireDetails/${props.caseId}?editOrShow=edit&fromRoute=fire&share=1&p=${p}`;
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
const filterPSW = (val: string) => {
|