|
@@ -15,7 +15,7 @@
|
|
|
<el-button type="text" size="mini" icon="el-icon-plus" @click="() => newTemplate(node)" v-if="data.type == 'type'">
|
|
|
新建模板
|
|
|
</el-button>
|
|
|
- <el-popconfirm title="确定删除模板?" v-if="data.diagramType" @onConfirm="() => delTemplate(node)">
|
|
|
+ <el-popconfirm title="确定删除模板?" v-if="data.diagramType" @confirm="() => delTemplate(node)">
|
|
|
<el-button slot="reference" type="text" size="mini" icon="el-icon-remove">删除</el-button>
|
|
|
</el-popconfirm>
|
|
|
<el-button slot="reference" type="text" @click="() => editTemplate(node)" v-if="data.diagramType" size="mini" icon="el-icon-edit">修改</el-button>
|
|
@@ -41,7 +41,7 @@
|
|
|
|
|
|
<el-button-group>
|
|
|
<el-button size="mini" @click="() => setProps()" :disabled="!(state == 1 || state == 2)">属性设置</el-button>
|
|
|
- <el-popconfirm title="确定删除选中对象?" @onConfirm="() => delCon()">
|
|
|
+ <el-popconfirm title="确定删除选中对象?" @confirm="() => delCon()">
|
|
|
<el-button slot="reference" size="mini" :disabled="!(state == 1 || state == 2)">删除</el-button>
|
|
|
</el-popconfirm>
|
|
|
</el-button-group>
|