|
@@ -1,7 +1,7 @@
|
|
|
<script setup>
|
|
|
import {nextTick,ref} from 'vue'
|
|
|
import {useChartRender} from '@/hooks/chart/render'
|
|
|
-import {chartInfoByCode} from './api/getData.js'
|
|
|
+import {chartInfoByCode,forumChartInfoByCode} from './api/getData.js'
|
|
|
import {parseQueryString} from "./utils/index"
|
|
|
const {chartRender,setLimitData,isUseSelfLimit}=useChartRender()
|
|
|
|
|
@@ -30,7 +30,10 @@ async function getChartData(){
|
|
|
return
|
|
|
}
|
|
|
try {
|
|
|
- const res=await chartInfoByCode({
|
|
|
+ const res=params.isETAForumChart&¶ms.isETAForumChart=='true'?await forumChartInfoByCode({
|
|
|
+ UniqueCode:params.code,
|
|
|
+ IsReplace:1
|
|
|
+ }): await chartInfoByCode({
|
|
|
UniqueCode:params.code,
|
|
|
IsReplace:1
|
|
|
})
|