问题修复
This commit is contained in:
@@ -523,10 +523,7 @@ function onMessage() {
|
||||
);
|
||||
}
|
||||
|
||||
if (
|
||||
msg.status == 0 &&
|
||||
msg.type != "time_discount"
|
||||
) {
|
||||
if (msg.status == 0 && msg.type != "time_discount") {
|
||||
console.log("msg", msg);
|
||||
infoBox.showToast(msg.msg || "添加失败");
|
||||
data.isGoodsAdd = true;
|
||||
@@ -646,7 +643,7 @@ async function getHistoryOrderDetail() {
|
||||
if (shopInfo.registerType == "before") {
|
||||
return;
|
||||
}
|
||||
if(!data.table.tableCode){
|
||||
if (!data.table.tableCode) {
|
||||
return;
|
||||
}
|
||||
data.historyOrder = [];
|
||||
@@ -1962,10 +1959,6 @@ onShow(() => {
|
||||
data.userInfo = shopif;
|
||||
}
|
||||
}
|
||||
// 判断是否token过期,是否有名字
|
||||
if (!data.userInfo.shopName) {
|
||||
loginShowOut();
|
||||
}
|
||||
|
||||
getHistoryOrderDetail();
|
||||
nextTick(() => {
|
||||
@@ -2018,7 +2011,7 @@ async function getLimit() {
|
||||
}
|
||||
|
||||
async function getTableDetail() {
|
||||
if(!data.table.tableCode){
|
||||
if (!data.table.tableCode) {
|
||||
return;
|
||||
}
|
||||
let res = await $returnTableDetail({
|
||||
|
||||
Reference in New Issue
Block a user