html: <ng-container *ngIf="oCode_test1(table.oCode) "> <span>{{aaa}}:< span> < ng-container> <ng-container *ngIf="oCode_test2(table.oCode) "> <span>{{bbb}}:< span> < ng-containe...
add.module.ts add.component.ts the printed window.BMap is also undefined how should it be introduced and instantiated here ...
...
problem description the front end of the project uses angular and the background springboot. The problem is that no matter how the backend modifies the file format, the file format downloaded at the front end is txt I tested it with excle here, so I ...
I have two subcomponents that have several function in common to reduce repeatability, I want to extract the common function and put it into the parent component then load the two subcomponents I have tried to put function on the parent component ...
I want to add a section of reusability of code. Code looks like this. <ng-container *ngIf="foo === 1 ;else qq1">< ng-container> <ng-container *ngIf="foo === 2 ;else qq2">< ng-container> <ng-template...
Angular uses nz-zorro, hoping to get the height of the nz-header component, using the following methods: <nz-header style="background: -sharpfff; padding:0;" -sharpheader> <i class="trigger" nz-icon [type]="isCollaps...
jsnginx nginx this error occurs when referenced js files are redirected to index.html That is, when I now request the URL http: localhost:8500 home Html, then the js file requested by index.html becomes http: localhost:8500 home static runtime.86...
test = [ ["qwe","1"], ["ewq","2"], ["www","4"] ["aaa","3"], ] an array of segments as above I want to rank according to the n...
background: A login function that distinguishes the online environment from the test environment. The online environment logs in with the mobile verification code, and the test environment logs in with the account password. my first reaction to seeing ...
test[ ["good1","1"], ["good2","2"], ["good3","3"], ["good4","4"] ] A piece of data as above will change, but not more than four . for example, sometimes i...
problem description how does the Angular project configure to use sourceMap for style debugging? There is no way to establish a mapping relationship when you try to add a workspace in chrome. the environmental background in which the problem occurs ...
when you run the angular project for the first time every day, you use the AngularCli command, ng serve-- open to start the project, but the first time every day is always unsuccessful. The error shows that Cannot GET , opens the angular-routing.ts file,...
jumping back to the list page from the order details page can still be in the same location ...
can ionic hide a page to the background and return the page without destroying it, just let him stay in the background and can call and modify the page at any time? at present, I want to do a file upload and download transfer list, but when I return to ...
code looks like this, https: stackblitz.com edit a... what I want to do is to click and find all those with id, then turn their isOpen into true, and then switch with id . is there a way to do this? ts cards = [{name: div1 ,id: 1,isOpen: fals...
as shown in the figure below, I wrote the angular code in vscode . I declared a bunch of interfaces. How can I make these interfaces implemented automatically? (the currently installed plug-ins are: Angular 7 Snippets ) ...
problem description the form is nested in model. When you open a new form, click OK directly and no error message is displayed. The dirty attribute starts with false the environmental background of the problems and what methods you have tried rela...
the demand is like this there is an agent list. If there is an agent on the menu, you need to be prompted by the red dot in the agent list. After the red dot is processed, the red dot disappears app is the page layout.html <nz-layout class=&q...
console appears Cannot find a differ supporting object [object Object] of type object . NgFor only supports binding to Iterables such as Arrays. I probably know because of the array object structure, but the screen works normally, so do I st...