我发起的变更页面完成
This commit is contained in:
@@ -15,6 +15,8 @@ const { routerPushByKey } = useRouterPush();
|
||||
const route = useRoute();
|
||||
|
||||
const loading = ref<boolean>(false);
|
||||
// 返回键
|
||||
const backKey = ref<string>('');
|
||||
// 判定说明
|
||||
const typeAiLoading = ref<boolean>(false);
|
||||
const typeAi = ref<{ type: string; confidence: number; conclusion: string; hit_rules: string[]; exclude_rules: string[]; knowledge_refs: string[] } | null>(null);
|
||||
@@ -233,7 +235,7 @@ const openTypeSheet = async () => {
|
||||
|
||||
// 返回
|
||||
const back = () => {
|
||||
routerPushByKey('my_mytask');
|
||||
routerPushByKey(backKey.value as any);
|
||||
};
|
||||
|
||||
// 导出
|
||||
@@ -381,6 +383,9 @@ onMounted(async () => {
|
||||
if(route.query.status){
|
||||
currentStatus.value = route.query.status.toString();
|
||||
}
|
||||
if(route.query.key){
|
||||
backKey.value = route.query.key.toString();
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user