feat: 一些文本的统一处理
This commit is contained in:
14
src/constant/local.js
Normal file
14
src/constant/local.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import { getCurrentConfig, currentClientType, ClientType } from "@/constant/base";
|
||||
/// 根据不同的端配置不同的文案等常量
|
||||
|
||||
export const chatInputPlaceholder = () => {
|
||||
const config = getCurrentConfig();
|
||||
return `快告诉${config.name}您在想什么~`;
|
||||
}
|
||||
|
||||
export const chatGuideSubTitle = () => {
|
||||
if (currentClientType() === ClientType.XIAOQI) {
|
||||
return "这里什么都没有哦";
|
||||
}
|
||||
return "陪您畅玩小七孔";
|
||||
}
|
||||
Reference in New Issue
Block a user