删除调试代码
Showing
11 changed files
with
0 additions
and
18 deletions
| ... | @@ -21,7 +21,6 @@ export default { | ... | @@ -21,7 +21,6 @@ export default { |
| 21 | watch: { | 21 | watch: { |
| 22 | cdata: { | 22 | cdata: { |
| 23 | handler (newData) { | 23 | handler (newData) { |
| 24 | console.log("newData",newData); | ||
| 25 | this.options = { | 24 | this.options = { |
| 26 | grid: { | 25 | grid: { |
| 27 | right:"1%", | 26 | right:"1%", | ... | ... |
| ... | @@ -64,7 +64,6 @@ export default { | ... | @@ -64,7 +64,6 @@ export default { |
| 64 | this.visible = show | 64 | this.visible = show |
| 65 | }, | 65 | }, |
| 66 | handleClick(tab, event) { | 66 | handleClick(tab, event) { |
| 67 | console.log(tab, event) | ||
| 68 | }, | 67 | }, |
| 69 | changeData(iconName) { | 68 | changeData(iconName) { |
| 70 | this.visible = false | 69 | this.visible = false | ... | ... |
| ... | @@ -18,10 +18,8 @@ export default { | ... | @@ -18,10 +18,8 @@ export default { |
| 18 | }, | 18 | }, |
| 19 | methods: { | 19 | methods: { |
| 20 | onJsonChange (value) { | 20 | onJsonChange (value) { |
| 21 | console.log('value:', value); | ||
| 22 | }, | 21 | }, |
| 23 | onJsonSave (value) { | 22 | onJsonSave (value) { |
| 24 | console.log('value:', value); | ||
| 25 | } | 23 | } |
| 26 | } | 24 | } |
| 27 | } | 25 | } | ... | ... |
| ... | @@ -69,7 +69,6 @@ export default { | ... | @@ -69,7 +69,6 @@ export default { |
| 69 | }, | 69 | }, |
| 70 | onJsonSave () { | 70 | onJsonSave () { |
| 71 | const value = this.resultInfo | 71 | const value = this.resultInfo |
| 72 | console.log(this.resultInfo, 'resultInfo') | ||
| 73 | if (this.hasJsonFlag === false) { | 72 | if (this.hasJsonFlag === false) { |
| 74 | this.$message.error({ message: 'json格式验证失败', showClose: true }) | 73 | this.$message.error({ message: 'json格式验证失败', showClose: true }) |
| 75 | // alert("json验证失败") | 74 | // alert("json验证失败") |
| ... | @@ -87,7 +86,6 @@ export default { | ... | @@ -87,7 +86,6 @@ export default { |
| 87 | this.dialogVisible = true | 86 | this.dialogVisible = true |
| 88 | }, | 87 | }, |
| 89 | cancel () { | 88 | cancel () { |
| 90 | console.log(this.tmpResultInfo, 'tmpResultInfo') | ||
| 91 | this.resultInfo = this.tmpResultInfo | 89 | this.resultInfo = this.tmpResultInfo |
| 92 | this.dialogVisible = false | 90 | this.dialogVisible = false |
| 93 | }, | 91 | }, | ... | ... |
| ... | @@ -129,7 +129,6 @@ export default { | ... | @@ -129,7 +129,6 @@ export default { |
| 129 | if (!this.heightNumSetting) { | 129 | if (!this.heightNumSetting) { |
| 130 | let _this = this | 130 | let _this = this |
| 131 | if (this.heightNum) { | 131 | if (this.heightNum) { |
| 132 | console.log("this.heightNum``",this.heightNum); | ||
| 133 | _this.$nextTick(() => { | 132 | _this.$nextTick(() => { |
| 134 | 133 | ||
| 135 | window.addEventListener('resize', () => { | 134 | window.addEventListener('resize', () => { | ... | ... |
| ... | @@ -32,8 +32,6 @@ export default { | ... | @@ -32,8 +32,6 @@ export default { |
| 32 | if (typeof val !== 'string') return | 32 | if (typeof val !== 'string') return |
| 33 | const themeCluster = this.getThemeCluster(val.replace('#', '')) | 33 | const themeCluster = this.getThemeCluster(val.replace('#', '')) |
| 34 | const originalCluster = this.getThemeCluster(oldVal.replace('#', '')) | 34 | const originalCluster = this.getThemeCluster(oldVal.replace('#', '')) |
| 35 | console.log(themeCluster, originalCluster) | ||
| 36 | |||
| 37 | const $message = this.$message({ | 35 | const $message = this.$message({ |
| 38 | message: ' Compiling the theme', | 36 | message: ' Compiling the theme', |
| 39 | customClass: 'theme-message', | 37 | customClass: 'theme-message', | ... | ... |
| ... | @@ -46,7 +46,6 @@ export default { | ... | @@ -46,7 +46,6 @@ export default { |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false) | 48 | this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false) |
| 49 | console.log(this.levelList) | ||
| 50 | }, | 49 | }, |
| 51 | isDashboard (route) { | 50 | isDashboard (route) { |
| 52 | const name = route && route.name | 51 | const name = route && route.name | ... | ... |
| ... | @@ -32,7 +32,6 @@ export default { | ... | @@ -32,7 +32,6 @@ export default { |
| 32 | const { width, height } = this; | 32 | const { width, height } = this; |
| 33 | const wh = window.innerHeight / height; | 33 | const wh = window.innerHeight / height; |
| 34 | const ww = window.innerWidth / width; | 34 | const ww = window.innerWidth / width; |
| 35 | console.log(ww < wh ? ww : wh); | ||
| 36 | return ww < wh ? ww : wh; | 35 | return ww < wh ? ww : wh; |
| 37 | }, | 36 | }, |
| 38 | setScale() { | 37 | setScale() { | ... | ... |
| ... | @@ -45,12 +45,9 @@ export default { | ... | @@ -45,12 +45,9 @@ export default { |
| 45 | try { | 45 | try { |
| 46 | let { result: res } = await work.addhousetotal(); | 46 | let { result: res } = await work.addhousetotal(); |
| 47 | res.map((item, index) => { | 47 | res.map((item, index) => { |
| 48 | console.log("item", item); | ||
| 49 | console.log("index", index); | ||
| 50 | return ( | 48 | return ( |
| 51 | this.config.data.push([index, item.fwyt, item.fwxz, item.mj]) | 49 | this.config.data.push([index, item.fwyt, item.fwxz, item.mj]) |
| 52 | ) | 50 | ) |
| 53 | |||
| 54 | }); | 51 | }); |
| 55 | } catch (error) { | 52 | } catch (error) { |
| 56 | console.log("error", error); | 53 | console.log("error", error); | ... | ... |
| ... | @@ -343,15 +343,12 @@ export default { | ... | @@ -343,15 +343,12 @@ export default { |
| 343 | }, | 343 | }, |
| 344 | // 上移下移 | 344 | // 上移下移 |
| 345 | moveUpward (index, row) { | 345 | moveUpward (index, row) { |
| 346 | console.log("row上移", row); | ||
| 347 | |||
| 348 | realMove(row.dictid, "UP", this.tableData); | 346 | realMove(row.dictid, "UP", this.tableData); |
| 349 | let id = findParents(this.tableData, row.dictid); | 347 | let id = findParents(this.tableData, row.dictid); |
| 350 | this.keyList = id; | 348 | this.keyList = id; |
| 351 | this.key++; | 349 | this.key++; |
| 352 | }, | 350 | }, |
| 353 | moveDown (index, row) { | 351 | moveDown (index, row) { |
| 354 | console.log("row下移", row); | ||
| 355 | realMove(row.dictid, "DOWN", this.tableData); | 352 | realMove(row.dictid, "DOWN", this.tableData); |
| 356 | let id = findParents(this.tableData, row.dictid); | 353 | let id = findParents(this.tableData, row.dictid); |
| 357 | this.keyList = id; | 354 | this.keyList = id; | ... | ... |
| ... | @@ -119,7 +119,6 @@ export default { | ... | @@ -119,7 +119,6 @@ export default { |
| 119 | // }) | 119 | // }) |
| 120 | }, | 120 | }, |
| 121 | handleSelectionChange (val) { | 121 | handleSelectionChange (val) { |
| 122 | console.log("vadddl",val); | ||
| 123 | this.multipleSelection = val | 122 | this.multipleSelection = val |
| 124 | } | 123 | } |
| 125 | } | 124 | } | ... | ... |
-
Please register or sign in to post a comment