From-wh 2 лет назад
Родитель
Сommit
2a19b6013f

+ 3 - 0
template/admin/src/pages/system/codeGeneration/components/Field.vue

@@ -169,6 +169,9 @@ export default {
     text-align: center;
     padding: 10px 10px;
     background-color: #f8f8f9;
+    /deep/ .ivu-input{
+      text-align: center;
+    }
   }
   .field {
     width: 100%;

+ 9 - 0
template/admin/src/pages/system/codeGeneration/index.vue

@@ -162,6 +162,9 @@ export default {
           codeCrud(data)
             .then((res) => {
               this.$Message.success(res.msg);
+              this.$router.push({
+                name: 'system_code_generation_list',
+              });
             })
             .catch((err) => {
               this.$Message.error(err.msg);
@@ -177,9 +180,15 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
+.ivu-steps .ivu-steps-title {
+  line-height: 26px;
+}
 .btn {
   display: flex;
   justify-content: center;
   align-items: center;
 }
+/deep/ .el-input__inner{
+  padding-left: 7px;
+}
 </style>