Commit 5d95f6cd by Sixong.Zhu

u

parent 049a2228
Showing with 10 additions and 3 deletions
......@@ -65,6 +65,9 @@ export default class ChatModelDetail extends Vue {
@Prop({ type: String, default: null })
private readonly name!: string;
@Prop()
private readonly drawer!: boolean;
private sseMessageRefreshData = false;
private detailData:
......@@ -93,9 +96,13 @@ export default class ChatModelDetail extends Vue {
}
private goTodetail() {
this.$router.push(
`/${this.$route.params.project}/${this.$route.params.entrance}/detail/${this.model_name}/key/${this.id}`
);
const path = `/${this.$route.params.project}.${this.$route.params.entrance}/detail/${this.model_name}/key/${this.id}`;
if (this.drawer) {
this.$emit("drawer", path);
} else {
this.$router.push(path);
}
this.hideChat();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment