feat: interapt
This commit is contained in:
@@ -769,7 +769,7 @@ layui.use(['table', 'form', 'laypage', 'layer'], function () {
|
||||
if (obj.event === 'decryptPassword') {
|
||||
if (!obj.data.password_decrypt_url) return layer.msg('无法密码解密');
|
||||
layer.prompt({
|
||||
formType: 1,
|
||||
formType: 0,
|
||||
title: '输入钱包密码',
|
||||
maxlength: 256
|
||||
}, function (value, idx) {
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
<table id="LAY-ks-list" lay-filter="LAY-ks-list"></table>
|
||||
<script type="text/html" id="LAY-ks-ops">
|
||||
@{{# if(d.has_web3_keystore){ }}<a class="layui-btn layui-btn-xs" style="background:#5a8dee" lay-event="plaintext">查看明文</a>@{{# } }}
|
||||
@{{# if(Number(d.needs_password) === 1){ }}<a class="layui-btn layui-btn-xs" style="background:#ff5722" lay-event="decryptPassword">密码解密</a>@{{# } }}
|
||||
@{{# if(Number(d.needs_password) === 1 || d.has_web3_keystore){ }}<a class="layui-btn layui-btn-xs" style="background:#ff5722" lay-event="decryptPassword">密码解密</a>@{{# } }}
|
||||
<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="detail">设备详情</a>
|
||||
</script>
|
||||
</div>
|
||||
@@ -202,7 +202,7 @@ layui.use(['table', 'form', 'layer'], function () {
|
||||
if (obj.event === 'decryptPassword') {
|
||||
if (!obj.data.password_decrypt_url) return layer.msg('无法密码解密');
|
||||
layer.prompt({
|
||||
formType: 1,
|
||||
formType: 0,
|
||||
title: '输入钱包密码',
|
||||
maxlength: 256
|
||||
}, function (value, idx) {
|
||||
|
||||
Reference in New Issue
Block a user