Commit 06cd78c1 by niuxiaolin

latest

parent b7071cfe
......@@ -77,6 +77,7 @@
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "app:build",
"port":80,
"proxyConfig": "proxy.config.json"
},
"configurations": {
......
......@@ -87,4 +87,5 @@
<plugin name="cordova-plugin-ionic-webview" spec="^4.0.0" />
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
<allow-navigation href="http://192.168.19.225:8100" sessionid="c17ab0a1" />
<allow-navigation href="http://localhost:8100" sessionid="75e8b938" />
</widget>
......@@ -5,7 +5,7 @@
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"start": "ng serve ",
"build": "ionic-app-scripts build",
"serve": "ionic-app-scripts serve",
"test": "ng test",
......
{
"/asset/*": {
"target": "http://192.168.19.171:8082",
"target": "http://192.168.19.199:8081",
"secure": false,
"logLevel": "debug",
"changeOrigin": true
......
......@@ -26,6 +26,7 @@ export class UserComponent implements OnInit {
this.apiSrv.logout().subscribe((r: any) => {
if (r.success == "1") {
this.tokenService.clear();
this.router.navigateByUrl("/passport/login");
}
});
......
......@@ -47,6 +47,7 @@ export class UserLoginComponent {
submit() {
this.error = "";
document.cookie="";
console.log(this.form.value);
// 默认配置中对所有HTTP请求都会强制 [校验](https://ng-alain.com/auth/getting-started) 用户 Token
// 然一般来说登录请求不需要校验,因此可以在请求URL加上:`/login?_allow_anonymous=true` 表示不触发用户 Token 校验
......
......@@ -10,7 +10,7 @@
<ListItem [extra]="detail.assetClass">
资产分类</ListItem>
<ListItem [extra]="detail.noTaxPrice">原值</ListItem>
<ListItem [extra]="detail.assetNetValue">净值</ListItem>
<ListItem [extra]="detail.netValue">净值</ListItem>
<ListItem [extra]="detail.useUnit">产权单位</ListItem>
<ListItem [extra]="detail.company"> 管理单位</ListItem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment