如何解决变量未正确传递以形成
我正在尝试用 0OTHXXGK1DCA19JUN 填充文本框保留 x 的值-谢谢。文本框中的信息停在 0OTHXXGK1DCA19JUN-谢谢它不会占用空间,您
Main.ts
const 保留日期 = '0OTHXXGK1DCA' + 日期服务.getNow().add(179,天').format('DDMMM').toUpperCase() + '-谢谢';
getService(LayerService).showInModal(new PnrView({model: {retentionx: reservedDate}}),pnrOptions,{display: 'areaView'});
PNRView.html
<label>{{_t 'Retention'}}</label>
<input type="text" id="{{new-random 'retention-field'}}"
class="not-empty form-control input-form retention-field-cl"
value={{retentionx}}>
解决方法
该值需要“”。
<label>{{_t 'Retention'}}</label> <input type="text" id="{{new-random 'retention-field'}}" class="not-empty form-control input-form retention-field-cl" value="{{retentionx}}">
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。