mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-07 21:46:12 +08:00
添加AI时默认添加在首行
This commit is contained in:
parent
c2514e9f2d
commit
b400bbb48d
@ -257,12 +257,8 @@ export default defineComponent({
|
||||
defaultConfig.apiUrl = "";
|
||||
}
|
||||
|
||||
this.aiConfigs.push(defaultConfig);
|
||||
this.aiConfigs.unshift(defaultConfig);
|
||||
|
||||
// 滚动到底部
|
||||
this.$nextTick(() => {
|
||||
this.$refs.scrollArea.setScrollPosition("vertical", 99999);
|
||||
});
|
||||
},
|
||||
getConfigListHeight() {
|
||||
const counts = Math.min(this.aiConfigs.length, 3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user