|
@@ -1101,13 +1101,13 @@ export default {
|
|
|
pageSize: 50,
|
|
|
dataContent,
|
|
|
})
|
|
|
- if (Number(code) !== 0) {
|
|
|
+ if (String(code) !== '0') {
|
|
|
this.page--
|
|
|
this.loading = false
|
|
|
this.$message.error('获取数据失败')
|
|
|
return
|
|
|
}
|
|
|
- if (needPage == this.page && result.length) {
|
|
|
+ if (result.length) {
|
|
|
if (singleJump) {
|
|
|
if (result.length === 1) {
|
|
|
this.$router.push({
|