mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
添加注释
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import Vue from 'vue'
|
||||
import request from '../../api/request'
|
||||
import axisModelCommonMixin from 'echarts/src/coord/axisModelCommonMixin'
|
||||
|
||||
const state = {
|
||||
// list of spiders
|
||||
|
||||
@@ -115,9 +115,11 @@
|
||||
</template>
|
||||
<el-table-column :label="$t('Action')" align="left" width="150px" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<!-- 编辑 -->
|
||||
<el-tooltip :content="$t('Edit')" placement="top">
|
||||
<el-button type="warning" icon="el-icon-edit" size="mini" @click="onEdit(scope.row)"></el-button>
|
||||
</el-tooltip>
|
||||
<!-- 删除 -->
|
||||
<el-tooltip :content="$t('Remove')" placement="top">
|
||||
<el-button type="danger" icon="el-icon-delete" size="mini" @click="onRemove(scope.row)"></el-button>
|
||||
</el-tooltip>
|
||||
@@ -216,7 +218,7 @@ export default {
|
||||
})
|
||||
this.$st.sendEv('定时任务', '提交')
|
||||
},
|
||||
isShowRun () {
|
||||
isShowRun (row) {
|
||||
},
|
||||
onEdit (row) {
|
||||
this.$store.commit('schedule/SET_SCHEDULE_FORM', row)
|
||||
|
||||
Reference in New Issue
Block a user