jwyu há 8 meses atrás
pai
commit
8b618f2c3f
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      src/views/chart/Detail.vue

+ 2 - 1
src/views/chart/Detail.vue

@@ -14,6 +14,7 @@ function getSystemConfig() {
   apiCommon.systemConfig().then(res => {
     if (res.Ret === 200) {
       const arr = res.Data || []
+      console.log(arr);
       arr.forEach(item => {
         if (item.ConfKey === 'ChartViewUrl') {
           chartBaseUrl.value = item.ConfVal
@@ -57,7 +58,7 @@ async function handleCollect() {
 }
 
 const chartRenderUrl = computed(() => {
-  return `${chartBaseUrl.value}/chart/preview?code=${chartInfo.value.UniqueCode}&source=etamini&token=${route.query.token}`
+  return `https://dwresearch.dwfutures.com/chart/preview?code=${chartInfo.value.UniqueCode}&source=etamini&token=${route.query.token}`
 })