增加录音功能调整页面布局。

This commit is contained in:
zhonghua.li
2026-04-16 09:20:13 +08:00
parent 826d9082ad
commit 8f556e2168
11 changed files with 222 additions and 48 deletions

View File

@@ -26,7 +26,11 @@ export default {
const allowed = ['status', 'reception', 'tag'];
const tab = (uni.getStorageSync('workbench-reception-tab') || '').toString();
if (allowed.includes(tab)) {
this.incomingTab = tab;
// 先清空再赋值,确保同一个 tabKey 也能触发子组件 watcher
this.incomingTab = '';
this.$nextTick(() => {
this.incomingTab = tab;
});
uni.removeStorageSync('workbench-reception-tab');
}
} catch (e) {