mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改文件上传案例
This commit is contained in:
parent
d089662c7f
commit
1adabcda66
@ -138,9 +138,7 @@ require(['jquery'], function () {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<input type='hidden' name='file_2' />
|
<input type='hidden' name='file_2' />
|
||||||
<p>
|
<a data-file="mut" data-field="file_2" data-type="png,jpg" data-uptype="local" href="javascript:void(0)">上传图片</a>
|
||||||
<a data-file="mut" data-field="file_2" data-type="png,jpg" data-uptype="local" href="javascript:void(0)">上传图片</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
@ -34,18 +34,19 @@
|
|||||||
<pre class="layui-code" lay-title="javascript代码">
|
<pre class="layui-code" lay-title="javascript代码">
|
||||||
|
|
||||||
require(['pcasunzips'], function () {
|
require(['pcasunzips'], function () {
|
||||||
/** // 省市联动
|
/** // 省市联动
|
||||||
* new PCAS("Province","City")
|
* new PCAS("Province","City")
|
||||||
* new PCAS("Province","City","吉林省")
|
* new PCAS("Province","City","吉林省")
|
||||||
* new PCAS("Province","City","吉林省","吉林市")
|
* new PCAS("Province","City","吉林省","吉林市")
|
||||||
* // 省市地区联动
|
* // 省市地区联动
|
||||||
* new PCAS("Province","City","Area")
|
* new PCAS("Province","City","Area")
|
||||||
* new PCAS("Province","City","Area","吉林省")
|
* new PCAS("Province","City","Area","吉林省")
|
||||||
* new PCAS("Province","City","Area","吉林省","松原市")
|
* new PCAS("Province","City","Area","吉林省","松原市")
|
||||||
* new PCAS("Province","City","Area","吉林省","松原市","宁江区")
|
* new PCAS("Province","City","Area","吉林省","松原市","宁江区")
|
||||||
* // 省、市、地区对象取得的值均为实际值。
|
* // 省、市、地区对象取得的值均为实际值。
|
||||||
* // 注:省、市、地区提示信息选项的值为""(空字符串)
|
* // 注:省、市、地区提示信息选项的值为""(空字符串)
|
||||||
*/
|
*/
|
||||||
|
// 实例化PCAS插件
|
||||||
new PCAS('province', 'city', 'area', '广东省', '广州市', '海珠区');
|
new PCAS('province', 'city', 'area', '广东省', '广州市', '海珠区');
|
||||||
});
|
});
|
||||||
</pre>
|
</pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user