diff --git a/pages/release/video.vue b/pages/release/video.vue index 253e1b8..e20494c 100644 --- a/pages/release/video.vue +++ b/pages/release/video.vue @@ -235,15 +235,23 @@ export default { label_arr: this.selectarr }).then(res => { if (res.errCode != 0) { - this.$refs.uToast.show({ - title: res.message, - type: 'error' - }); + // this.$refs.uToast.show({ + // title: res.message, + // type: 'error' + // }); + uni.showToast({ + title: res.message, + icon: "none" + }) } else { - this.$refs.uToast.show({ - title: res.message, - type: 'success' - }); + // this.$refs.uToast.show({ + // title: res.message, + // type: 'success' + // }); + uni.showToast({ + title: res.message, + icon: "none" + }) setTimeout(function() { uni.navigateBack({ delta: 1 @@ -282,18 +290,26 @@ export default { spec_name: this.tagcontent }).then(res => { if (res.errCode != 0) { - this.$refs.uToast.show({ - title: res.message, - type: 'error' - }); + // this.$refs.uToast.show({ + // title: res.message, + // type: 'error', + // }); + uni.showToast({ + title: res.message, + icon: "none" + }) } else { this.tagcontent = ''; this.show = false; this.fileListes.push(res.data); - this.$refs.uToast.show({ - title: res.message, - type: 'success' - }); + // this.$refs.uToast.show({ + // title: res.message, + // type: 'success' + // }); + uni.showToast({ + title: res.message, + icon: "none" + }) } }); }, @@ -302,10 +318,14 @@ export default { let that = this; this.$u.api.getLiveSpec({}).then(res => { if (res.errCode != 0) { - this.$refs.uToast.show({ - title: res.message, - type: 'error' - }); + // this.$refs.uToast.show({ + // title: res.message, + // type: 'error' + // }); + uni.showToast({ + title: res.message, + icon: "none" + }) } else { let arr = res.data; for (let index in arr) { @@ -332,10 +352,14 @@ export default { let me = this; this.$u.post("Streaming/deltLabel", {label_id: id}).then(res => { if (res.errCode == 0) { - this.$refs.uToast.show({ - title: res.message, - type: 'success' - }); + // this.$refs.uToast.show({ + // title: res.message, + // type: 'success' + // }); + uni.showToast({ + title: res.message, + icon: "none" + }) this.fileListes.splice(index,1); } })