loki пре 3 година
родитељ
комит
2b21976628
1 измењених фајлова са 4 додато и 3 уклоњено
  1. 4 3
      src/views/sceneManagement/sceneList/index.vue

+ 4 - 3
src/views/sceneManagement/sceneList/index.vue

@@ -121,7 +121,7 @@ export default {
         {
           key: 'action',
           name: '操作',
-          width: '120',
+          width: '180',
           render: (h, { row }) => {
             const action = [];
             action.push(
@@ -195,9 +195,10 @@ export default {
     handleAdd() {
       this.$SceneItemModal();
     },
-    async handleSend(id) {
+    async handleSend(item) {
+      console.log(item.id);
       const { success, msg } = await sendCode({
-        id
+        id: item.id
       });
       if (success) {
         this.$success('发送成功!');