|
@@ -257,7 +257,7 @@ export default {
|
257
|
257
|
}
|
258
|
258
|
},
|
259
|
259
|
mounted() {
|
260
|
|
- this.dataQuery(this.$route.params.id)
|
|
260
|
+ this.dataQuery(this.$route.query.id)
|
261
|
261
|
},
|
262
|
262
|
methods: {
|
263
|
263
|
dataQuery() { // 查询数据
|
|
@@ -432,7 +432,7 @@ export default {
|
432
|
432
|
spinner: 'el-icon-loading',
|
433
|
433
|
background: 'rgba(0, 0, 0, 0.7)'
|
434
|
434
|
})
|
435
|
|
- if(this.listQuery.textContent===undefined){
|
|
435
|
+ if(this.listQuery.textContent===undefined||this.listQuery.textContent===''){
|
436
|
436
|
this.$message.error('请输入内容')
|
437
|
437
|
loading.close()
|
438
|
438
|
return
|