there is a button in the input group. Click the button to copy the contents of the input box. The contents of the input box are read-only.
there is a button in the input group. Click the button to copy the contents of the input box. The contents of the input box are read-only.
ready-made Angular adaptation version, here
if you want to package it yourself, you can use clipboard.js directly
has been executed to the yellow part, res [ data ] .itemMaterialType = 3, this.itemMaterialType= res [ data ] .itemMaterialType; this sentence has been executed, why this.itemMaterialType has always been the theoretical this.itemMaterialType=3 ...
the effect I want: {{1 * 0.00000001}} = 0.00000001 actual running effect: {{1 * 0.00000001}} = 1e-8 1 represents a variable Please advise. ...