feat: ai问答
This commit is contained in:
@@ -72,7 +72,12 @@ Page({
|
||||
}
|
||||
|
||||
// 2. Prepare payload
|
||||
const mapTitle = { growth: '生长记录', repot: '换盆记录', pest: '病虫害记录', other: '日常记录' };
|
||||
const mapTitle = {
|
||||
growth: '生长记录', flower: '开花记录', repot: '换盆记录',
|
||||
prune: '修剪记录', fertilize: '施肥记录', soil: '换土记录',
|
||||
pest: '病虫害记录', medicine: '用药记录', move: '移位记录',
|
||||
other: '日常记录'
|
||||
};
|
||||
const title = mapTitle[this.data.recordType] || '日常记录';
|
||||
|
||||
const payload = {
|
||||
|
||||
Reference in New Issue
Block a user