浏览代码

处理PostgreSQL支持问题

https://github.com/go-admin-team/go-admin/issues/597
infnan 3 年之前
父节点
当前提交
a43369140b
共有 1 个文件被更改,包括 0 次插入2 次删除
  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) {