diff --git a/src/config/index.js b/src/config/index.js
index 68aed2a..73cd2bd 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -4,8 +4,8 @@ export const productUrl='dj-admin';
// const baseUrl = "http://192.168.1.7:8100/czg/"
// const baseUrl = "https://api.tianjinzhitongdaohe.com/czg/"
- const baseUrl = "https://web-api.hnsiyao.cn/czg/" //测试
-// const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上
+// const baseUrl = "https://web-api.hnsiyao.cn/czg/" //测试
+const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上
export default{
baseUrl
diff --git a/src/views/user/userList.vue b/src/views/user/userList.vue
index e09cff7..28c1f40 100644
--- a/src/views/user/userList.vue
+++ b/src/views/user/userList.vue
@@ -138,7 +138,7 @@
-->
- {{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}
+ {{scope.row.platform| platformFilter}}
@@ -465,7 +465,7 @@
-->
- {{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}
+ {{scope.row.platform| platformFilter}}
@@ -601,7 +601,7 @@
-->
- {{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}
+ {{scope.row.platform| platformFilter}}
@@ -779,6 +779,7 @@ export default {
})
})
},
+
// tabs切换
handleClick(tab, event) {
this.page = 1
@@ -1183,6 +1184,19 @@ export default {
})
},
},
+ filters: {
+ platformFilter(item) {
+ if(item == 'h5') return '-'
+ else if(item == 'app') return '-'
+ else return item
+ },
+ formatDate(time) {
+ if (!time) return ''
+ let date = new Date(time)
+ return date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate() + ' ' + date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds()
+ },
+
+ },
mounted() {
this.dataSelect()
}