mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
5.0
This commit is contained in:
@@ -22,7 +22,7 @@ const frameRef = ref<HTMLElement | null>(null);
|
|||||||
if (unref(currentRoute.meta)?.frameSrc) {
|
if (unref(currentRoute.meta)?.frameSrc) {
|
||||||
frameSrc.value = unref(currentRoute.meta)?.frameSrc as string;
|
frameSrc.value = unref(currentRoute.meta)?.frameSrc as string;
|
||||||
}
|
}
|
||||||
unref(currentRoute.meta)?.frameLoading === 0 && hideLoading();
|
unref(currentRoute.meta)?.frameLoading && hideLoading();
|
||||||
|
|
||||||
function hideLoading() {
|
function hideLoading() {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
|
@@ -138,18 +138,7 @@ const defaultProps = {
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="描述" prop="description">
|
<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="example" width="200" />
|
<el-table-column label="示例值" prop="example" width="200" />
|
||||||
</el-table>
|
</el-table>
|
||||||
<h4>业务返回参数</h4>
|
<h4>业务返回参数</h4>
|
||||||
|
@@ -27,7 +27,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
|
|||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/api": {
|
||||||
// 这里填写后端地址
|
// 这里填写后端地址
|
||||||
target: "http://127.0.0.1:8082",
|
target: "http://127.0.0.1:8083",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: path => path.replace(/^\/api/, "")
|
rewrite: path => path.replace(/^\/api/, "")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user