修复双引号导致显示不全的问题
This commit is contained in:
parent
628a955482
commit
34d4d6ef65
@ -14,7 +14,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">流转条件</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="condition" placeholder="请输入流转条件" autocomplete="off" class="layui-input" value="{{(d.data.object.condition || '').replace('"','"')}}">
|
||||
<input type="text" name="condition" placeholder="请输入流转条件" autocomplete="off" class="layui-input" value="{{(d.data.object.condition || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">节点名称</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="value" placeholder="请输入节点名称" value="{{(d.value).replace('"','"')}}" autocomplete="off" class="layui-input">
|
||||
<input type="text" name="value" placeholder="请输入节点名称" value="{{(d.value).replace(/\"/g,'"')}}" autocomplete="off" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
|
@ -8,19 +8,19 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">节点名称</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="nodeName" placeholder="请输入节点名称" value="{{(d.value).replace('"','"')}}" autocomplete="off" class="layui-input">
|
||||
<input type="text" name="nodeName" placeholder="请输入节点名称" value="{{(d.value).replace(/\"/g,'"')}}" autocomplete="off" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">循环变量</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="loopVariableName" placeholder="请输入循环变量" autocomplete="off" class="layui-input" value="{{(d.data.object.loopVariableName || '').replace('"','"')}}">
|
||||
<input type="text" name="loopVariableName" placeholder="请输入循环变量" autocomplete="off" class="layui-input" value="{{(d.data.object.loopVariableName || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">循环次数</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="loopCount" placeholder="请输入循环次数" autocomplete="off" class="layui-input" value="{{(d.data.object.loopCount || '').replace('"','"')}}">
|
||||
<input type="text" name="loopCount" placeholder="请输入循环次数" autocomplete="off" class="layui-input" value="{{(d.data.object.loopCount || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
{{# layui.each(d.data.object.outputs,function(index,output){ }}
|
||||
@ -29,13 +29,13 @@
|
||||
<i class="layui-icon layui-icon-close variable-remove"></i>
|
||||
<label class="layui-form-label">输出项</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="output-name" placeholder="输出项" autocomplete="off" class="layui-input" value="{{(output.name || '').replace('"','"')}}">
|
||||
<input type="text" name="output-name" placeholder="输出项" autocomplete="off" class="layui-input" value="{{(output.name || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">输出值</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="output-value" placeholder="输出值" autocomplete="off" class="layui-input" value="{{(output.value || '').replace('"','"')}}">
|
||||
<input type="text" name="output-value" placeholder="输出值" autocomplete="off" class="layui-input" value="{{(output.value || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
{{# }) }}
|
||||
|
@ -8,7 +8,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">节点名称</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="value" placeholder="请输入节点名称" value="{{(d.value || '').replace('"','"')}}" autocomplete="off" class="layui-input">
|
||||
<input type="text" name="value" placeholder="请输入节点名称" value="{{(d.value || '').replace(/\"/g,'"')}}" autocomplete="off" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
{{# layui.each(d.data.object.variables,function(index,variable){ }}
|
||||
@ -17,13 +17,13 @@
|
||||
<i class="layui-icon layui-icon-close variable-remove"></i>
|
||||
<label class="layui-form-label">变量名</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="variable-name" placeholder="变量名称" autocomplete="off" class="layui-input" value="{{(variable.name || '').replace('"','"')}}">
|
||||
<input type="text" name="variable-name" placeholder="变量名称" autocomplete="off" class="layui-input" value="{{(variable.name || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">变量值</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="variable-value" placeholder="变量值" autocomplete="off" class="layui-input" value="{{(variable.value || '').replace('"','"')}}">
|
||||
<input type="text" name="variable-value" placeholder="变量值" autocomplete="off" class="layui-input" value="{{(variable.value || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
{{# }) }}
|
||||
|
@ -17,25 +17,25 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">循环变量</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="loopVariableName" placeholder="请输入循环变量" autocomplete="off" class="layui-input input-default" value="{{(d.data.object.loopVariableName || '').replace('"','"')}}">
|
||||
<input type="text" name="loopVariableName" placeholder="请输入循环变量" autocomplete="off" class="layui-input input-default" value="{{(d.data.object.loopVariableName || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">循环次数</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="loopCount" placeholder="请输入循环次数" autocomplete="off" class="layui-input input-default" value="{{(d.data.object.loopCount || '').replace('"','"')}}">
|
||||
<input type="text" name="loopCount" placeholder="请输入循环次数" autocomplete="off" class="layui-input input-default" value="{{(d.data.object.loopCount || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">延迟时间</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="sleep" placeholder="请输入延迟时间" autocomplete="off" class="layui-input input-default" value="{{(d.data.object.sleep || '').replace('"','"')}}">
|
||||
<input type="text" name="sleep" placeholder="请输入延迟时间" autocomplete="off" class="layui-input input-default" value="{{(d.data.object.sleep || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">URL</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="url" placeholder="请输入起始url" autocomplete="off" class="layui-input input-default" value="{{(d.data.object.url || '').replace('"','"')}}">
|
||||
<input type="text" name="url" placeholder="请输入起始url" autocomplete="off" class="layui-input input-default" value="{{(d.data.object.url || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
@ -53,13 +53,13 @@
|
||||
<i class="layui-icon layui-icon-close parameter-remove"></i>
|
||||
<label class="layui-form-label">参数名</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="parameter-name" placeholder="请输入参数名" autocomplete="off" class="layui-input" value="{{(parameter.name || '').replace('"','"')}}">
|
||||
<input type="text" name="parameter-name" placeholder="请输入参数名" autocomplete="off" class="layui-input" value="{{(parameter.name || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">参数值</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="parameter-value" placeholder="请输入参数值" autocomplete="off" class="layui-input" value="{{(parameter.value || '').replace('"','"')}}">
|
||||
<input type="text" name="parameter-value" placeholder="请输入参数值" autocomplete="off" class="layui-input" value="{{(parameter.value || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -76,13 +76,13 @@
|
||||
<i class="layui-icon layui-icon-close header-remove"></i>
|
||||
<label class="layui-form-label">header名</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="header-name" placeholder="请输入header名" autocomplete="off" class="layui-input" value="{{(header.name || '').replace('"','"')}}">
|
||||
<input type="text" name="header-name" placeholder="请输入header名" autocomplete="off" class="layui-input" value="{{(header.name || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">header值</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="header-value" placeholder="请输入header值" autocomplete="off" class="layui-input" value="{{(header.value || '').replace('"','"')}}">
|
||||
<input type="text" name="header-value" placeholder="请输入header值" autocomplete="off" class="layui-input" value="{{(header.value || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -97,7 +97,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">代理</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="proxy" placeholder="ip:host" value="{{(d.data.object.proxy || '').replace('"','"')}}" autocomplete="off" class="layui-input input-default">
|
||||
<input type="text" name="proxy" placeholder="ip:host" value="{{(d.data.object.proxy || '').replace(/\"/g,'"')}}" autocomplete="off" class="layui-input input-default">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">header值</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="header-value" placeholder="请输入header值" autocomplete="off" class="layui-input" value="{{(header.value || '').replace('"','"')}}">
|
||||
<input type="text" name="header-value" placeholder="请输入header值" autocomplete="off" class="layui-input" value="{{(header.value || '').replace(/\"/g,'"')}}">
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
Loading…
Reference in New Issue
Block a user