This commit is contained in:
六如
2024-12-30 09:04:23 +08:00
parent 9e4c9e02ff
commit 40865ab049
3 changed files with 3 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ const frameRef = ref<HTMLElement | null>(null);
if (unref(currentRoute.meta)?.frameSrc) {
frameSrc.value = unref(currentRoute.meta)?.frameSrc as string;
}
unref(currentRoute.meta)?.frameLoading === 0 && hideLoading();
unref(currentRoute.meta)?.frameLoading && hideLoading();
function hideLoading() {
loading.value = false;

View File

@@ -138,18 +138,7 @@ const defaultProps = {
</span>
</template>
</el-table-column>
<el-table-column label="描述" prop="description">
<template #default="scope">
<span
v-if="scope.row.name === 'code' || scope.row.name === 'msg'"
>
{{ dataNodeType }}
</span>
<span v-else>
{{ scope.row.description }}
</span>
</template>
</el-table-column>
<el-table-column label="描述" prop="description" />
<el-table-column label="示例值" prop="example" width="200" />
</el-table>
<h4>业务返回参数</h4>

View File

@@ -27,7 +27,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
proxy: {
"/api": {
// 这里填写后端地址
target: "http://127.0.0.1:8082",
target: "http://127.0.0.1:8083",
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, "")
}