'commit'
This commit is contained in:
@@ -26,7 +26,7 @@ createApp({
|
||||
]);
|
||||
const selectedOperator = ref("驿来特");
|
||||
const aiText = ref("");
|
||||
const placeholder = ref("点击左侧按钮查询四家供应商最新24小时分时电价,再使用右侧AI综合分析功能对各司定价策略进行对比。");
|
||||
const placeholder = ref("");
|
||||
const loading = ref(false);
|
||||
const exporting = ref(false);
|
||||
const exportingReport = ref(false);
|
||||
@@ -447,6 +447,20 @@ createApp({
|
||||
});
|
||||
|
||||
watch(queryResult, (newVal) => {
|
||||
nextTick(() => {
|
||||
const el = document.querySelector('.markdown-body');
|
||||
if (el && window.renderMathInElement) {
|
||||
renderMathInElement(el, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
{left: '\\(', right: '\\)', display: false},
|
||||
{left: '\\[', right: '\\]', display: true}
|
||||
],
|
||||
throwOnError: false
|
||||
});
|
||||
}
|
||||
});
|
||||
if (newVal && newVal.includes('```echarts')) {
|
||||
renderCharts();
|
||||
}
|
||||
@@ -459,6 +473,7 @@ createApp({
|
||||
// Dashboard init
|
||||
initChart();
|
||||
loadAllOperatorsPrices();
|
||||
startAiAnalysis();
|
||||
|
||||
// Degree QR Code
|
||||
if (!isMobile.value && typeof QRCode !== 'undefined') {
|
||||
@@ -487,4 +502,4 @@ createApp({
|
||||
handleDegreeSearch, setExample, renderedResult, stopDegreeGeneration
|
||||
};
|
||||
}
|
||||
}).mount("#app");
|
||||
}).use(ElementPlus).mount("#app");
|
||||
|
||||
Reference in New Issue
Block a user