Commit 655b176b authored by Step_by_step's avatar Step_by_step

fix: 其他bug修复

parent 57cf79e4
...@@ -118,7 +118,7 @@ export default class AuFormClass { ...@@ -118,7 +118,7 @@ export default class AuFormClass {
// 设置某一个属性的值 // 设置某一个属性的值
setFormValue(propName, attribute, value) { setFormValue(propName, attribute, value) {
if (!propName || value===undefined || value===null) return false if (!propName || value === undefined || value === null) return false
let obj = this.getFormValue(propName, true) let obj = this.getFormValue(propName, true)
if (!obj) return false if (!obj) return false
......
...@@ -179,7 +179,7 @@ const computing = () => { ...@@ -179,7 +179,7 @@ const computing = () => {
router.push({ name: 'calculator-views-plan' }) router.push({ name: 'calculator-views-plan' })
} catch (error) { } catch (error) {
console.error(error) console.error(error)
Toast.fail('计算失败失败'); Toast.fail('计算失败');
} }
} }
} else { } else {
......
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