小程序发布增加删除按钮
This commit is contained in:
		| @@ -31,6 +31,7 @@ | ||||
|           <el-table-column slot="options" label="操作" fixed="right" align="center" width="300"> | ||||
|             <template slot-scope="{row}"> | ||||
|               <el-button type="text" @click="handleEdit(row)">编辑</el-button> | ||||
|               <el-button type="text" @click="handleDelete(row.id)">删除</el-button> | ||||
|               <el-button type="text" @click="handleZip(row)" v-if="row.count==0">打包</el-button> | ||||
|               <el-button type="text" @click="handleCancelZip(row)" v-else>停止</el-button> | ||||
|               <el-button type="text" v-if="/^打包时间/.test(row.error)" @click="handleDownload(row)">下载</el-button> | ||||
| @@ -214,7 +215,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(ids) { | ||||
|       this.$confirm("是否要删除该项目/系统?").then(() => { | ||||
|         this.instance.post("/node/autodeploy/delete", null, { | ||||
|         this.instance.post("/node/wxmp/delete", null, { | ||||
|           params: {ids} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user