RuoYi
2026-04-02 86cb7555ebfd6c3e03aeeaf310df7523abcff8ce
ruoyi-ui/src/views/system/post/index.vue
@@ -273,13 +273,13 @@
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.postId != undefined) {
            updatePost(this.form).then(response => {
            updatePost(this.form).then(() => {
              this.$modal.msgSuccess("修改成功")
              this.open = false
              this.getList()
            })
          } else {
            addPost(this.form).then(response => {
            addPost(this.form).then(() => {
              this.$modal.msgSuccess("新增成功")
              this.open = false
              this.getList()