perf: remove console

3.x
ssc 3 years ago
parent 00815d708b
commit 3f8b0c62cc
  1. 4
      src/views/plugin/workflow/pages/design/index.vue

@ -235,7 +235,6 @@ export default {
if (val) { if (val) {
getFormByKey({ formKey: val }).then(res => { getFormByKey({ formKey: val }).then(res => {
_this.option = { ...eval('(' + res.data.data.content.replace(/this/g, '_this') + ')'), menuBtn: false, readonly: true } _this.option = { ...eval('(' + res.data.data.content.replace(/this/g, '_this') + ')'), menuBtn: false, readonly: true }
console.log(_this.option)
_this.findObject(this.step1.option.group, 'form').display = true _this.findObject(this.step1.option.group, 'form').display = true
}).catch((err) => { }).catch((err) => {
console.log(err) console.log(err)
@ -341,7 +340,6 @@ export default {
switch (this.step) { switch (this.step) {
case 0: case 0:
this.$refs.form1.validate((valid, done, msg) => { this.$refs.form1.validate((valid, done, msg) => {
console.log(msg)
if (valid) { if (valid) {
const { formType, formKey, exFormKey, column } = this.step1.form const { formType, formKey, exFormKey, column } = this.step1.form
if (formType == 1) { // if (formType == 1) { //
@ -357,8 +355,6 @@ export default {
mode: 'indep', mode: 'indep',
list: this.formList list: this.formList
} }
console.log("==============================")
console.log(JSON.parse(JSON.stringify(this.step2.option)))
} }
this.step++ this.step++
done() done()

Loading…
Cancel
Save