Merge branch 'dev' into HEAD

This commit is contained in:
Lemon
2023-03-23 10:13:25 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ public class NettyServerChannelInitializer extends ChannelInitializer<SocketChan
@Override
protected void initChannel(SocketChannel channel) throws Exception {
ChannelPipeline pipeline = channel.pipeline();
// pipeline.addLast("decoder",new CustomDecoder());
// pipeline.addLast("frameDecoder",new CustomDecoder());
pipeline.addLast("frameDecoder", new StartAndLengthFieldFrameDecoder(0x68));
pipeline.addLast("decoder", new ByteArrayDecoder());
pipeline.addLast("encoder", new ByteArrayDecoder());

View File

@@ -1,6 +1,6 @@
<template>
<div class="app-container">
<el-card class="cardStyle" v-if="orderInfo[0].orderStatus === '4'">
<el-card class="cardStyle" v-if="orderInfo[0].orderStatus === '4' || orderInfo[0].orderStatus === '2'">
<div style="margin: 10px">
<span style="color: #bf1c1c">该笔订单为异常状态请检查充电桩状态</span>
<el-button type="primary" icon="el-icon-search" size="mini" @click="dialogVisible = true">手动结算</el-button>