|
@@ -312,6 +312,9 @@
|
|
function handlePreview(record: Recordable) {
|
|
function handlePreview(record: Recordable) {
|
|
const host = userStore.isEnv;
|
|
const host = userStore.isEnv;
|
|
console.log('host', host);
|
|
console.log('host', host);
|
|
|
|
+ if(record.outsideLink){
|
|
|
|
+ return window.open(record.outsideLink, '_blank');
|
|
|
|
+ }
|
|
let url =
|
|
let url =
|
|
window.location.host == 'www.4dkankan.com'
|
|
window.location.host == 'www.4dkankan.com'
|
|
? `https://www.4dkankan.com/#/cases/detail/${record.id}`
|
|
? `https://www.4dkankan.com/#/cases/detail/${record.id}`
|