|
@@ -210,7 +210,7 @@ export default {
|
|
|
formatVoice: ['mp3', 'wma', 'wav', 'amr'],
|
|
formatVoice: ['mp3', 'wma', 'wav', 'amr'],
|
|
|
header: {},
|
|
header: {},
|
|
|
formValidate: {
|
|
formValidate: {
|
|
|
- status: 1,
|
|
|
|
|
|
|
+ status: -1,
|
|
|
type: '',
|
|
type: '',
|
|
|
key: this.$route.params.key || '',
|
|
key: this.$route.params.key || '',
|
|
|
data: {
|
|
data: {
|
|
@@ -287,6 +287,10 @@ export default {
|
|
|
}
|
|
}
|
|
|
keywordsinfoApi(url, data)
|
|
keywordsinfoApi(url, data)
|
|
|
.then(async (res) => {
|
|
.then(async (res) => {
|
|
|
|
|
+ if (res.data.info.data instanceof Array) {
|
|
|
|
|
+ this.formValidate.status = 0;
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
let info = res.data.info || {};
|
|
let info = res.data.info || {};
|
|
|
let data = info.data || {};
|
|
let data = info.data || {};
|
|
|
this.formValidate = {
|
|
this.formValidate = {
|