update:报告模板优化
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<div class="tip">
|
||||
<el-input
|
||||
v-model="item.title"
|
||||
placeholder="请输入图例名称"
|
||||
:placeholder="params.placeholder || '请输入图例名称'"
|
||||
clearable
|
||||
@input="inputFun"
|
||||
/>
|
||||
@@ -54,6 +54,10 @@
|
||||
<div class="label">默认名称</div>
|
||||
<el-input v-model="paramsData.title" placeholder="请输入" clearable />
|
||||
</div>
|
||||
<div class="option-item">
|
||||
<div class="label">输入提示</div>
|
||||
<el-input v-model="paramsData.placeholder" placeholder="请输入" clearable />
|
||||
</div>
|
||||
</div>
|
||||
<template #footer>
|
||||
<div>
|
||||
@@ -166,7 +170,11 @@ const pasteFun = (event: any) => {
|
||||
if (props.disabled) {
|
||||
return;
|
||||
}
|
||||
event.preventDefault();
|
||||
const dom = event.target;
|
||||
const tagName = dom.tagName;
|
||||
if (tagName.toLowerCase() !== 'input') {
|
||||
event.preventDefault();
|
||||
}
|
||||
const win: any = window;
|
||||
const clipboardData = event.clipboardData || win.clipboardData;
|
||||
const items = clipboardData.items;
|
||||
|
||||
Reference in New Issue
Block a user