Commit fd8cdbec by 无尘

fix: 修改下发设置

parent d7176578
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-11-09 10:05:27 * @Date: 2020-11-09 10:05:27
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-20 15:21:29 * @LastEditTime: 2020-11-20 15:38:05
--> -->
<!-- --> <!-- -->
<template> <template>
...@@ -62,7 +62,9 @@ export default { ...@@ -62,7 +62,9 @@ export default {
// methods // methods
methods: { methods: {
/** /**
* 保存 * @description: 保存
* @param {String} formName
* @author: 无尘
*/ */
submitForm: _debounce(function(formName) { submitForm: _debounce(function(formName) {
const that = this; const that = this;
...@@ -95,7 +97,8 @@ export default { ...@@ -95,7 +97,8 @@ export default {
}); });
}, },
/** /**
* 获取设置数据 * @description: 获取设置数据
* @author: 无尘
*/ */
getData() { getData() {
const that = this; const that = this;
...@@ -116,6 +119,7 @@ export default { ...@@ -116,6 +119,7 @@ export default {
brandId: function(newData, oldData) { brandId: function(newData, oldData) {
const that = this; const that = this;
if (!!newData) { if (!!newData) {
that.ruleForm.days = '';
that.getData(); that.getData();
} }
} }
......
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