|
|
|
|
@ -53,7 +53,8 @@ export default {
|
|
|
|
|
cdnBaseImg: this.G.store().cdnBaseImg,
|
|
|
|
|
corpUserFlag: uni.getStorageSync("apply-userinfo").corpUserFlag,
|
|
|
|
|
wyyxTabGroup: [],
|
|
|
|
|
randomTime: this.generateRandomTime(), // 生成随机时间
|
|
|
|
|
randomTime: this.generateRandomTime(), // 生成随机时间,
|
|
|
|
|
appinfo:uni.getStorageSync("miniApp-info")
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
@ -73,9 +74,9 @@ export default {
|
|
|
|
|
let config = uni.getStorageSync("chat_config");
|
|
|
|
|
botArray = [
|
|
|
|
|
{
|
|
|
|
|
title: "大鹏", //config.name,
|
|
|
|
|
sub_title: "人海AI供应链智能助理", //config.description,
|
|
|
|
|
avatar: that.cdnBaseImg + "v3/add1.png", //config.icon_url,
|
|
|
|
|
title: that.appinfo.aiRobotName, //config.name,
|
|
|
|
|
sub_title: that.appinfo.appName + "平台智能助理", //config.description,
|
|
|
|
|
avatar: that.appinfo && that.appinfo.logo ? that.appinfo.logo : that.cdnBaseImg + "v3/add1.png", //config.icon_url,
|
|
|
|
|
path: "/root/chat/index",
|
|
|
|
|
tip: "rgpp",
|
|
|
|
|
randomTime: that.generateRandomTime(), // 为机器人添加随机时间
|
|
|
|
|
|