当我将值设置为时出现奇怪的错误p-dropdown
ERROR: Uncaught (in promise): Error: Cannot assign value "$event" to template variable "bed". Template variables are read-only.
Error: Cannot assign value "$event" to template variable "bed". Template variables are read-only.
at _AstToIrVisitor.visitPropertyWrite (compiler.js:8348)
at PropertyWrite.visit (compiler.js:7236)
at convertActionBinding (compiler.js:7935)
at prepareEventListenerParameters (compiler.js:16723)
at Object.params (compiler.js:17822)
at compiler.js:17599
at Array.map (<anonymous>)
at compiler.js:17599
at compiler.js:16878
at Array.map (<anonymous>)
at resolvePromise (zone.js:1215)
at resolvePromise (zone.js:1165)
at zone.js:1277
at ZoneDelegate.invokeTask (zone.js:407)
at Object.onInvokeTask (core.js:27474)
at ZoneDelegate.invokeTask (zone.js:406)
at Zone.runTask (zone.js:179)
at …Run Code Online (Sandbox Code Playgroud) angular ×1