|
@@ -496,16 +496,15 @@ export default {
|
|
|
this.$refs.chooseDepart.getDetail(this.ordeDetail)
|
|
|
}
|
|
|
} else {
|
|
|
- const h = this.$createElement
|
|
|
const arr = res.data.split('\n')
|
|
|
- const newArr = []
|
|
|
- arr.forEach(item => {
|
|
|
- newArr.push(h('p', item))
|
|
|
- })
|
|
|
- this.$warning({
|
|
|
- title: '提示',
|
|
|
- closable: true,
|
|
|
- content: h('div', {}, newArr)
|
|
|
+ this.$notification.open({
|
|
|
+ message: '提示',
|
|
|
+ description:
|
|
|
+ <div>
|
|
|
+ {arr.map(item =>
|
|
|
+ (<p>{item}</p>)
|
|
|
+ )}
|
|
|
+ </div>
|
|
|
})
|
|
|
}
|
|
|
}
|