|
@@ -472,13 +472,15 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
goEntPage(item) {
|
|
goEntPage(item) {
|
|
- // 历史记录新增
|
|
|
|
- saveViewHistoryQuery({
|
|
|
|
- type: 'ent',
|
|
|
|
- name: item?.name + '_' + item?.id,
|
|
|
|
- }).then((res) => {
|
|
|
|
- console.log(res, 'res')
|
|
|
|
- })
|
|
|
|
|
|
+ if (this.isLogin) {
|
|
|
|
+ // 历史记录新增
|
|
|
|
+ saveViewHistoryQuery({
|
|
|
|
+ type: 'ent',
|
|
|
|
+ name: item?.name + '_' + item?.id,
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ console.log(res, 'res')
|
|
|
|
+ })
|
|
|
|
+ }
|
|
const url = this.$envs.inWX
|
|
const url = this.$envs.inWX
|
|
? '/weixin/frontPage/collection/sess/ent_portrait'
|
|
? '/weixin/frontPage/collection/sess/ent_portrait'
|
|
: '/jyapp/big/page/ent_portrait'
|
|
: '/jyapp/big/page/ent_portrait'
|