当前位置:网站首页>若依如何input改成文本
若依如何input改成文本
2022-04-23 05:54:00 【ZHZHK001】
原来的状态
<div class="form-group">
<label class="col-sm-3 control-label">物料ID:</label>
<div class="col-sm-8">
<input name="goodsId" th:field="*{goodsId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">供应商ID:</label>
<div class="col-sm-8">
<input name="supplierId" th:field="*{supplierId}" class="form-control" type="text">
</div>
</div>
修改后的状态
<div class="form-group">
<label class="col-sm-3 control-label">名称:</label>
<div class="col-sm-8">
<p class="form-control-static" th:text="*{goodsName}"></p>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">规格:</label>
<div class="col-sm-8">
<p class="form-control-static" th:text="*{goodsSpec}"></p>
</div>
</div>
主要是把
< input name=“goodsId” th:field=“*{goodsId}” class=“form-control” type=“text”>
改成
< p class=“form-control-static” th:text=“*{goodsSpec}”>
版权声明
本文为[ZHZHK001]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_43142925/article/details/124350612
边栏推荐
猜你喜欢
Analysis and setting of dead time
Informatics one book pass - small ball
元素计算距离与event事件对象
FOC电机库 定点PID代码分析
QT icon application
微信小程序之点击取消,返回上页,修改上页的参数值,let pages=getCurrentPages() let prevPage=pages[pages.length - 2] // 上一页的数据
解析psd文件,并映射成组件
Redux overview
MOS tube characteristics and conduction process
QT add qserialport class to realize serial port operation
随机推荐
特效案例收集:鼠标星球小尾巴
统计字符串中每个字符出现的次数
JS实现私有属性
Palindromic Primes
颜色字符串转换
查漏补缺(四)
Krypton zeal
查漏补缺(八)
Notes on advanced points of C language 2
Mysql中的索引与视图
查漏补缺(五)
uniapp 自定义搜索框适配小程序对齐胶囊
Node数据流
微信小程序之点击取消,返回上页,修改上页的参数值,let pages=getCurrentPages() let prevPage=pages[pages.length - 2] // 上一页的数据
ARM常用汇编指令
VHDL arbitrary frequency divider (50% duty cycle)
千呼万唤始出来
Overview of node file system and buffer
赛氪-zeal
JS中的this指向