当前位置:网站首页>若依如何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
边栏推荐
猜你喜欢
随机推荐
TensorFlow张量介绍
ARM常用汇编指令
CUDA project encountered a series of compilation problems after changing the environment (computer)
查漏补缺(八)
cartographer_node 编译没问题,但是运行直接挂掉的bug
Oracle改成mysql
Incremental update of client software
2020 Jiangsu Collegiate Programming Contest-A.Array
往String原型上封装一个时间戳转日期的方法
微信小程序之 js 时间戳/1000 转换 秒,六个小时后,一天后,本周五 选项计算时间
Informatics one book pass - small ball
【ORACLE与mysql的区别】
ES6面试题(参考文档)
颜色字符串转换
VHDL arbitrary frequency divider (50% duty cycle)
汇编基础代码示例
死区时间的分析与设置
赛氪-二进制
js获取链接?后边的参数名称或者值,根据url ?后的参数做判断
记第一次使用阿里字体图标库


![[UDS unified diagnostic service] II. Network layer protocol (1) - overview and functions of network layer](/img/39/30bb897ff4467105de08c8c1c737ab.png)






