Jelajahi Sumber

配置文件

limeng 5 bulan lalu
induk
melakukan
1fb2d76739

+ 1 - 1
zhjq-ui/src/views/system/article/index.vue

@@ -438,7 +438,7 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
-      this.$modal.confirm('是否确认删除此条数据项?').then(function () {
+      this.$modal.confirm('是否确认删除数据项?').then(function () {
         return delArticle(ids);
       }).then(() => {
         this.getList();

+ 3 - 2
zhjq-ui/src/views/system/voice/index.vue

@@ -346,8 +346,9 @@ export default {
     },
     /** 删除按钮操作 */
     handleDelete(row) {
-      this.$modal.confirm('是否确认删除名称为"' + row.voiceName + '"的数据项?').then(function () {
-        return delVoice(row.id);
+      const ids = row.id || this.ids;
+      this.$modal.confirm('是否确认删除数据项?').then(function () {
+        return delVoice(ids);
       }).then(() => {
         this.getList();
         this.$modal.msgSuccess("删除成功");