Angular5 model update, view not refreshed?

model is an Array, an event needs to delete an element. Through .splice (index, 1), the element is deleted, but the view is not updated;


you can try to manually remind angular to re-render the view

import { NgZone } from '@angular/core';

  constructor(public _ngZone:NgZone) {}

  public refresh() {
    this._ngZone.run(() => {});
  }

are you a dynamic form? the controls of the form has not been deleted

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b3ec-dfca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2b3ec-dfca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?