|
@@ -4,19 +4,19 @@ import popup from "$utils/tool/popup";
|
|
|
import {PopupExportComponent} from "$popup/popup-export/const";
|
|
|
|
|
|
import personalDetail, {OpenType} from '$utils/control/personal-detail';
|
|
|
-import user from "$config/user";
|
|
|
|
|
|
export default <LibDataArray>[
|
|
|
{
|
|
|
label:'急速点单',
|
|
|
icon:require('../images/quick.png'),
|
|
|
trigger: new FunctionTrigger(function (item){
|
|
|
- return personalDetail.openDetail({
|
|
|
- rid: 12,
|
|
|
- room_cover: "http://newqiaoyu.com//uploads/all/20210706/f15b82e2c2d4d0af4b76fa2a14bc9c9d.png",
|
|
|
- room_name: "然心动—你爱我我爱你❤怦",
|
|
|
- room_number: 99999
|
|
|
- },OpenType.room);
|
|
|
+
|
|
|
+ this.$store.dispatch('getConfigPromise',true).then((data)=>{
|
|
|
+ return personalDetail.openDetail({
|
|
|
+ rid: data.quick_order_room_id
|
|
|
+ },OpenType.room);
|
|
|
+ });
|
|
|
+
|
|
|
}),
|
|
|
},
|
|
|
{
|