|
@@ -298,9 +298,9 @@ export default {
|
|
|
async setEnHandle({ UniqueCode }) {
|
|
|
this.formItemArray = { chartInfo: [], chartsList: [] };
|
|
|
|
|
|
- const { Ret, Data } = await dataBaseInterface.getChartByCode({
|
|
|
- UniqueCode,
|
|
|
- });
|
|
|
+ const { Ret, Data } = this.chart_source === 2
|
|
|
+ ? await futuresInterface.getChartBasicInfo({ UniqueCode })
|
|
|
+ : await dataBaseInterface.getChartByCode({ UniqueCode })
|
|
|
|
|
|
if (Ret !== 200) return;
|
|
|
let chartInfo = Data.ChartInfo;
|