Merge branch 'fix-109' of https://git.nianxx.cn/zoujing/YGChatCS
# Conflicts: # src/pages/index/components/chat/ChatQuickAccess/index.vue
This commit is contained in:
@@ -35,8 +35,8 @@ const itemList = ref([
|
||||
},
|
||||
{
|
||||
icon: "",
|
||||
title: "反馈意见",
|
||||
type: "Command.feedbackCard",
|
||||
title: "呼叫服务",
|
||||
type: "Command.createWorkOrderCard",
|
||||
},
|
||||
{
|
||||
icon: "https://oss.nianxx.cn/mp/static/version_101/home/more.png",
|
||||
@@ -48,6 +48,10 @@ const itemList = ref([
|
||||
const emits = defineEmits(["replySent"]);
|
||||
|
||||
const sendReply = (item) => {
|
||||
if (item.type === "Command.more") {
|
||||
uni.$emit("SHOW_MORE_POPUP");
|
||||
return;
|
||||
}
|
||||
emits("replySent", item); // 向父组件传递数据
|
||||
};
|
||||
|
||||
@@ -85,7 +89,7 @@ const initData = () => {
|
||||
showIcon: false,
|
||||
title: "订单/工单",
|
||||
content: "我的订单/工单",
|
||||
type: "MyOrder",
|
||||
type: "Command.myOrder",
|
||||
},
|
||||
]
|
||||
: [
|
||||
@@ -108,7 +112,7 @@ const initData = () => {
|
||||
showIcon: false,
|
||||
title: "订单/工单",
|
||||
content: "我的订单/工单",
|
||||
type: "MyOrder",
|
||||
type: "Command.myOrder",
|
||||
},
|
||||
{
|
||||
icon: "https://oss.nianxx.cn/mp/static/quick/quick_icon_call.png",
|
||||
|
||||
Reference in New Issue
Block a user