Browse Source

退款理由不能是空的

JXDS18FUJT 2 years ago
parent
commit
8dfa3380c4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/tool/order/index.vue

+ 2 - 0
src/views/tool/order/index.vue

@@ -198,6 +198,8 @@ export default {
                 confirmButtonText: "确定",
                 cancelButtonText: "取消",
                 type: "warning",
+                inputPattern: /\S/g,
+          inputErrorMessage: '不能为空'
             }).then(function (obj) {
                 return refundOrder(outTradeNo,{
                     reason:obj.value