Commit d250a8e2 by 无尘

fix: 修改下发设置

parent d6460ae3
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 10:05:27
* @LastEditors: 无尘
* @LastEditTime: 2020-11-20 15:09:13
* @LastEditTime: 2020-11-20 15:21:29
-->
<!-- -->
<template>
......@@ -64,10 +64,17 @@ export default {
/**
* 保存
*/
saveSet: _debounce(function() {
submitForm: _debounce(function(formName) {
const that = this;
that.loadingBtn = true;
that.postSave();
that.$refs[formName].validate((valid) => {
if (valid) {
that.postSave();
}else {
that.loadingBtn = false;
}
});
}, 300),
postSave() {
const that = this;
......@@ -119,4 +126,7 @@ export default {
.p-l-35 {
padding-left: 35px;
}
.w-100 {
width: 100px;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment