mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: name保存问题
This commit is contained in:
parent
15d9390ee4
commit
9f261e78c3
@ -24,10 +24,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const joinQQGroup = () => {
|
||||
// 加入QQ群的逻辑
|
||||
window.open('https://jq.qq.com/?_wv=1027&k=123456789', '_blank');
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
@ -175,6 +175,7 @@ const showAddTabDialog = () => {
|
||||
const addTab = async () => {
|
||||
const { name, type } = newTab.value;
|
||||
const defaultConfig = structuredClone(defaultConfigs[type]);
|
||||
defaultConfig.name = name;
|
||||
clientPanelData.push({ name, data: defaultConfig, key: type });
|
||||
isDialogVisible.value = false;
|
||||
await nextTick();
|
||||
|
Loading…
x
Reference in New Issue
Block a user