mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
9d68d06727
commit
7e48f69ac2
8
app.js
8
app.js
@ -36,12 +36,12 @@ let opts = {
|
|||||||
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
|
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||||
|
|
||||||
|
|
||||||
app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
|
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||||
app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts));
|
//app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||||
|
|
||||||
|
|
||||||
//app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
|
app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
|
||||||
//app.use('/app',proxy('http://192.168.1.16:8012',opts));
|
app.use('/app',proxy('http://192.168.1.16:8012',opts));
|
||||||
|
|
||||||
//app.listen(3000);
|
//app.listen(3000);
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
|
|||||||
@ -3,7 +3,8 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./bin/www"
|
"start": "node ./bin/www",
|
||||||
|
"dev": "node ./bin/www"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cookie-parser": "~1.4.4",
|
"cookie-parser": "~1.4.4",
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
$that.listEnterCommunity(DEFAULT_PAGE, DEFAULT_ROW);
|
$that.listEnterCommunity(DEFAULT_PAGE, DEFAULT_ROW);
|
||||||
});
|
});
|
||||||
vc.on('chooseEnterCommunity','paginationPlus', 'page_event', function (_currentPage) {
|
vc.on('chooseEnterCommunity','paginationPlus', 'page_event', function (_currentPage) {
|
||||||
vc.component.listEnterCommunity(_currentPage, DEFAULT_ROWS);
|
vc.component.listEnterCommunity(_currentPage, DEFAULT_ROW);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user