优化代码

This commit is contained in:
wuxw 2024-08-29 12:15:31 +08:00
parent 8266005dec
commit 5df430e3be
2 changed files with 7 additions and 7 deletions

12
app.js
View File

@ -51,14 +51,14 @@ let opts = {
// ws: true
// }));
app.use('/ws', proxy('http://192.168.100.109:8008', opts));
app.use('/callComponent', proxy('http://192.168.100.109:8008', opts));
app.use('/app', proxy('http://192.168.100.109:8008', opts));
// app.use('/ws', proxy('http://192.168.100.109:8008', opts));
// app.use('/callComponent', proxy('http://192.168.100.109:8008', opts));
// app.use('/app', proxy('http://192.168.100.109:8008', opts));
// todo 本机 开发用生产环境请用nginx带来
// app.use('/ws', proxy('http://127.0.0.1:8008', opts));
// app.use('/callComponent', proxy('http://127.0.0.1:8008', opts));
// app.use('/app', proxy('http://127.0.0.1:8008', opts));
app.use('/ws', proxy('http://127.0.0.1:8008', opts));
app.use('/callComponent', proxy('http://127.0.0.1:8008', opts));
app.use('/app', proxy('http://127.0.0.1:8008', opts));
//app.listen(3000);
app.use(express.json());

View File

@ -44,7 +44,7 @@
<td class="text-center" v-else>-</td>
<td class="text-center" v-if="item.preDegrees">{{item.curDegrees - item.preDegrees}}</td>
<td class="text-center" v-else>-</td>
<td class="text-center">m2</td>
<td class="text-center">{{item.units}}</td>
<td class="text-center">{{item.squarePrice}}</td>
<td class="text-center">{{item.amount}}</td>
</tr>