소스 검색

处理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) {