Browse Source

Merge pull request #193 from infnan/master

处理PostgreSQL支持问题
wenjianzhang 3 years ago
parent
commit
4b6e7e6ba0
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/views/admin/sys-config/index.vue

+ 0 - 2
src/views/admin/sys-config/index.vue

@@ -350,7 +350,6 @@ export default {
       const ID = row.id || this.ids
       getConfig(ID).then(response => {
         this.form = response.data
-        this.form.isFrontend = String(this.form.isFrontend)
         this.open = true
         this.title = '修改参数'
         this.isEdit = true
@@ -360,7 +359,6 @@ export default {
     submitForm: function() {
       this.$refs['form'].validate(valid => {
         if (valid) {
-          this.form.isFrontend = parseInt(this.form.isFrontend)
           if (this.form.id !== undefined) {
             updateConfig(this.form).then(response => {
               if (response.code === 200) {