Browse Source

优化空格

dos 4 months ago
parent
commit
efdb1a17c8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      game-ui/src/views/business/lottery/index.vue

+ 4 - 0
game-ui/src/views/business/lottery/index.vue

@@ -564,8 +564,12 @@ export default {
     },
     /** 提交按钮 */
     submitKjForm() {
+      let that = this;
       this.$refs["kjForm"].validate(valid => {
         if (valid) {
+          if(that.kjForm["gameDate"] != undefined && that.kjForm["gameDate"] != null){
+            that.kjForm["gameDate"] = that.kjForm["gameDate"].trimStart().trimEnd();
+          }
           kjLottery(this.kjForm).then(response => {
                 this.$modal.msgSuccess(response.msg);
                 this.open = false;