style: 注释信息解析html请求
This commit is contained in:
@@ -202,15 +202,15 @@ function fnModalVisible(row: Record<string, any>) {
|
||||
const rawData = convertToReadableFormat(hexString);
|
||||
modalState.from.rawData = rawData;
|
||||
// RAW解析HTML
|
||||
getTraceRawInfo(row.id).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
const htmlString = rawDataHTMLScript(res.msg);
|
||||
modalState.from.rawDataHTML = htmlString;
|
||||
modalState.from.downBtn = true;
|
||||
} else {
|
||||
modalState.from.rawDataHTML = t('views.traceManage.analysis.noData');
|
||||
}
|
||||
});
|
||||
// getTraceRawInfo(row.id).then(res => {
|
||||
// if (res.code === RESULT_CODE_SUCCESS) {
|
||||
// const htmlString = rawDataHTMLScript(res.msg);
|
||||
// modalState.from.rawDataHTML = htmlString;
|
||||
// modalState.from.downBtn = true;
|
||||
// } else {
|
||||
// modalState.from.rawDataHTML = t('views.traceManage.analysis.noData');
|
||||
// }
|
||||
// });
|
||||
modalState.title = t('views.traceManage.analysis.taskTitle', {
|
||||
num: row.imsi,
|
||||
});
|
||||
@@ -495,7 +495,7 @@ onMounted(() => {
|
||||
<a-col class="txt" :span="10">{{ v.asciiText }}</a-col>
|
||||
</a-row>
|
||||
<a-divider />
|
||||
<div class="raw-title">
|
||||
<!-- <div class="raw-title">
|
||||
{{ t('views.traceManage.analysis.signalDetail') }}
|
||||
<a-button
|
||||
type="dashed"
|
||||
@@ -508,8 +508,8 @@ onMounted(() => {
|
||||
</template>
|
||||
{{ t('views.traceManage.analysis.taskDownText') }}
|
||||
</a-button>
|
||||
</div>
|
||||
<div class="raw-html" v-html="modalState.from.rawDataHTML"></div>
|
||||
</div> -->
|
||||
<!-- <div class="raw-html" v-html="modalState.from.rawDataHTML"></div> -->
|
||||
</ProModal>
|
||||
</PageContainer>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user