@@ -104,7 +104,10 @@ const getList = async () => {
pageIndex: 1,
pageSize: 100
})
- .catch(() => ({}))
+ .catch(() => ({
+ code: -1,
+ data: { list: [], total: 0 }
+ }))
.finally(() => {
loading.value = false
@@ -38,8 +38,7 @@ const testApi1 = async () => {
return
}
- console.log(selectedChannel.value)
- if (!form.channel.trim()) {
+ if (!form.channel.trim() && form.version.trim() > "1.0.67") {
ElMessage.error('渠道不能为空')