fix error
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
"polyfills": "src/polyfills.ts",
|
"polyfills": "src/polyfills.ts",
|
||||||
"tsConfig": "tsconfig.app.json",
|
"tsConfig": "tsconfig.app.json",
|
||||||
"aot": false,
|
"aot": true,
|
||||||
"assets": [
|
"assets": [
|
||||||
"src/favicon.ico",
|
"src/favicon.ico",
|
||||||
"src/assets",
|
"src/assets",
|
||||||
|
|||||||
@@ -56,7 +56,6 @@
|
|||||||
"karma-coverage-istanbul-reporter": "^3.0.3",
|
"karma-coverage-istanbul-reporter": "^3.0.3",
|
||||||
"karma-jasmine": "^4.0.1",
|
"karma-jasmine": "^4.0.1",
|
||||||
"karma-jasmine-html-reporter": "^1.5.4",
|
"karma-jasmine-html-reporter": "^1.5.4",
|
||||||
"nz-tslint-rules": "^0.901.2",
|
|
||||||
"protractor": "^7.0.0",
|
"protractor": "^7.0.0",
|
||||||
"ts-node": "^10.5.0",
|
"ts-node": "^10.5.0",
|
||||||
"typescript": "~4.6.4"
|
"typescript": "~4.6.4"
|
||||||
|
|||||||
@@ -20,16 +20,16 @@
|
|||||||
|
|
||||||
<div id="landr" *ngIf="!user">
|
<div id="landr" *ngIf="!user">
|
||||||
<nz-space>
|
<nz-space>
|
||||||
<nz-space-item>
|
<template *nzSpaceItem>
|
||||||
<a routerLink="/user/login">
|
<a routerLink="/user/login">
|
||||||
<button nz-button nzType="primary">登录</button>
|
<button nz-button nzType="primary">登录</button>
|
||||||
</a>
|
</a>
|
||||||
</nz-space-item>
|
</template>
|
||||||
<nz-space-item>
|
<template *nzSpaceItem>
|
||||||
<a routerLink="/user/registration">
|
<a routerLink="/user/registration">
|
||||||
<button nz-button nzType="primary">注册</button>
|
<button nz-button nzType="primary">注册</button>
|
||||||
</a>
|
</a>
|
||||||
</nz-space-item>
|
</template>
|
||||||
</nz-space>
|
</nz-space>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user