新增在线更新功能

This commit is contained in:
gyq
2024-09-04 09:08:32 +08:00
parent 86c8ca6472
commit d57cecd91d
7 changed files with 16057 additions and 9 deletions

View File

@@ -135,6 +135,8 @@
<fastCashier ref="fastCashierRef" type="0" />
<!-- 挂起订单 -->
<pendingCartModal ref="pendingCartModalRef" @select="pendingCartHandle" />
<!-- 检查版本升级 -->
<updateDialog />
</template>
<script>
@@ -147,6 +149,8 @@ import { onMounted, ref } from "vue";
import { useRoute } from 'vue-router'
import { useUser } from "@/store/user.js";
import { useGlobal } from '@/store/global.js'
import updateDialog from '@/components/updateDialog.vue'
import remarkModal from "@/components/remarkModal.vue";
import takeFoodCode from "@/components/takeFoodCode.vue";
import cartOperation from "@/views/home/components/cartOperation.vue";
@@ -409,6 +413,7 @@ async function createCodeAjax(type = "0") {
const res = await createCode({
shopId: store.userInfo.shopId,
type: type,
tableId: global.tableInfo.qrcode || '',
});
masterId.value = res.code;
}