linwenxin 5 mesi fa
parent
commit
ef88512c38

+ 1 - 1
src/views/setting/fileDelivery/centralFileDelivery/index.vue

@@ -70,7 +70,7 @@
               <el-popconfirm
                 style="margin-left: 10px"
                 title="确定删除吗?"
-                @onConfirm="deleteData(scope.row.id)"
+                @confirm="deleteData(scope.row.id)"
                 v-if="userInfo.type == 1"
               >
                 <el-button slot="reference" type="text">删除</el-button>

+ 1 - 1
src/views/setting/fileDelivery/fileDeliveryPage/index.vue

@@ -70,7 +70,7 @@
               <el-popconfirm
                 style="margin-left: 10px"
                 title="确定删除吗?"
-                @onConfirm="deleteData(scope.row.id)"
+                @confirm="deleteData(scope.row.id)"
                 v-if="userInfo.type == 1"
               >
                 <el-button slot="reference" type="text">删除</el-button>

+ 1 - 1
src/views/setting/fileDelivery/masterFileDelivery/index.vue

@@ -54,7 +54,7 @@
             <template slot-scope="scope">
               <el-button type="text" @click="downloadFile(scope.row.id)">下载</el-button>
               <el-button type="text" @click="statusFn(scope.row)">{{ scope.row.status ? '隐藏' : '显示' }}</el-button>
-              <el-popconfirm style="margin-left: 10px" @onConfirm="deleteFn(scope.row.id)" title="确定删除吗?">
+              <el-popconfirm style="margin-left: 10px" @confirm="deleteFn(scope.row.id)" title="确定删除吗?">
                 <el-button type="text" class="textColor" slot="reference">删除</el-button>
               </el-popconfirm>
               <!-- <el-button type="text" @click="deleteFn(scope.row.id)">删除</el-button> -->