AI智能体的开启新的会话和历史会话的中文的友好提示更改
This commit is contained in:
@@ -49,7 +49,7 @@ class _AiViewState extends State<AiView> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text('AI'),
|
title: const Text('AI智能体'),
|
||||||
actions: [
|
actions: [
|
||||||
PopupMenuButton<String>(
|
PopupMenuButton<String>(
|
||||||
onSelected: (value) {
|
onSelected: (value) {
|
||||||
@@ -60,8 +60,8 @@ class _AiViewState extends State<AiView> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
itemBuilder: (BuildContext context) => <PopupMenuEntry<String>>[
|
itemBuilder: (BuildContext context) => <PopupMenuEntry<String>>[
|
||||||
const PopupMenuItem<String>(value: 'new_session', child: Text('New Session')),
|
const PopupMenuItem<String>(value: 'new_session', child: Text('开启新的会话')),
|
||||||
const PopupMenuItem<String>(value: 'history', child: Text('History')),
|
const PopupMenuItem<String>(value: 'history', child: Text('历史会话')),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user