mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
8266005dec
commit
5df430e3be
12
app.js
12
app.js
@ -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());
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user