@@ -277,7 +277,10 @@
align="center"
>
<template slot-scope="scope">
- <el-link type="primary">编辑元素</el-link>
+ <el-link
+ type="primary"
+ @contextmenu.prevent.native="rightClick()"
+ >编辑元素</el-link>
<el-link
class="mg-l-10"
type="primary"
@@ -2146,7 +2149,7 @@ export default {
//#region 编辑元素
rightClick () {
-
+ console.log('sss');
},
//#endregion