feat:合并

This commit is contained in:
lixg
2022-12-15 11:59:07 +08:00
11 changed files with 294 additions and 267 deletions

View File

@@ -116,7 +116,13 @@
}"
@click="toFinish(value)"
>
{{ types.path[value.type] ? types.toName[value.type] : "未开放" }}
{{
value.status === 1
? "已完成"
: types.path[value.type]
? types.toName[value.type]
: "未开放"
}}
</div>
<!-- <div :style="{ display: value.status === 1 ? 'block' : 'none' }">-->
<!-- <div-->
@@ -352,8 +358,6 @@ const {
} = useRoute();
const router = useRouter();
const { data } = useRequest(ROUTER_PROCESS, { routerId });
console.log("datadata", data);
const { avatar: userAvatar } = useUserInfo(
computed(() => data.value?.userInfoBo?.userId)
);
@@ -603,7 +607,6 @@ function toFinish(d) {
if (types.value.path[d.type] && types.value.path[d.type].startsWith("http")) {
//配置文件
const url = types.value.path[d.type] + d.targetId;
console.log("url", d, url);
import.meta.env.DEV
? (window.location.href = url)
: (window.parent.location.href = url);