fix: 定时任务删除不了问题修复。
This commit is contained in:
@@ -144,14 +144,14 @@ function addTime() {
|
||||
});
|
||||
}
|
||||
/** 删除 */
|
||||
function remove(id) {
|
||||
function remove(timeId) {
|
||||
// 确定提示框
|
||||
Taro.showModal({
|
||||
title: "提示",
|
||||
content: `确认删除该定时信息?`,
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
delTimeCtrl({ id }).then((res) => {
|
||||
delTimeCtrl({ id: timeId }).then((res) => {
|
||||
if (res.code == 200) {
|
||||
state.show = true;
|
||||
state.msg = "删除成功";
|
||||
|
||||
Reference in New Issue
Block a user