We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db44283 commit 2552b7dCopy full SHA for 2552b7d
1 file changed
src/views/recorder/RoomList.vue
@@ -377,7 +377,7 @@ interface NewRoomModelType {
377
autoRecord: boolean;
378
}
379
380
-const ROOM_ID_FROM_LINK_REGEX = /^(?:(?:https?:\/\/)?live\.bilibili\.com\/(?:blanc\/|h5\/)?)?(\d+)(?:\?.*)?(?:#.*)?$/;
+const ROOM_ID_FROM_LINK_REGEX = /^(?:(?:https?:\/\/)?live\.bilibili\.com\/(?:blanc\/|h5\/)?)?(\d+)\/?(?:[#\?].*)?$/;
381
382
const showNewRoomDialog = ref(false);
383
const newRoomFormRef = ref<FormInst | null>(null);
0 commit comments