Commit 7d9066c0 authored by chenfenglei's avatar chenfenglei

系统配置

parent f341d80b
...@@ -76,8 +76,8 @@ export default { ...@@ -76,8 +76,8 @@ export default {
submitForm(formName) { submitForm(formName) {
this.$refs[formName].validate(valid => { this.$refs[formName].validate(valid => {
if (valid) { if (valid) {
if(formName= "form"){ if(formName== "form"){
this.$confirm('确认配置吗?', '提示', { this.$confirm('确认修改吗?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
}); });
}); });
}else{ }else{
this.$confirm('确认配置吗?', '提示', { this.$confirm('确认修改吗?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
......
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