formatted style
This commit is contained in:
@@ -207,25 +207,23 @@ export default {
|
||||
},
|
||||
// 创建标签
|
||||
addLiveSpec() {
|
||||
this.$u.api
|
||||
.createLivesp({
|
||||
spec_name: this.tagcontent
|
||||
})
|
||||
.then(res => {
|
||||
if (res.errCode != 0) {
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'error'
|
||||
});
|
||||
} else {
|
||||
this.tagcontent = '';
|
||||
this.show = false;
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'success'
|
||||
});
|
||||
}
|
||||
});
|
||||
this.$u.api.createLivesp({
|
||||
spec_name: this.tagcontent
|
||||
}).then(res => {
|
||||
if (res.errCode != 0) {
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'error'
|
||||
});
|
||||
} else {
|
||||
this.tagcontent = '';
|
||||
this.show = false;
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'success'
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
// 上传封面
|
||||
uploadcover(data) {
|
||||
|
||||
@@ -184,25 +184,23 @@ export default {
|
||||
},
|
||||
// 创建标签
|
||||
addLiveSpec() {
|
||||
this.$u.api
|
||||
.createLivesp({
|
||||
spec_name: this.tagcontent
|
||||
})
|
||||
.then(res => {
|
||||
if (res.errCode != 0) {
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'error'
|
||||
});
|
||||
} else {
|
||||
this.tagcontent = '';
|
||||
this.show = false;
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'success'
|
||||
});
|
||||
}
|
||||
});
|
||||
this.$u.api.createLivesp({
|
||||
spec_name: this.tagcontent
|
||||
}).then(res => {
|
||||
if (res.errCode != 0) {
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'error'
|
||||
});
|
||||
} else {
|
||||
this.tagcontent = '';
|
||||
this.show = false;
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'success'
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
// 获取标签
|
||||
getLiveSpec() {
|
||||
|
||||
Reference in New Issue
Block a user