增加录音功能调整页面布局。
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user