Commit 5166c191 authored by 786817560's avatar 786817560

'修改状态值'

parent f3db6a2e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip: 产品明细 * @Descrip: 产品明细
* @Author: your name * @Author: your name
* @Date: 2019-10-15 14:30:00 * @Date: 2019-10-15 14:30:00
* @LastEditTime: 2019-10-21 15:56:00 * @LastEditTime: 2019-10-21 16:08:13
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -139,10 +139,12 @@ export default { ...@@ -139,10 +139,12 @@ export default {
} }
next() next()
}, },
created () { activated () {
console.log('collect........', window.sessionStorage.getItem('collect_status')) console.log('collect........', window.sessionStorage.getItem('collect_status'))
if (window.sessionStorage.getItem('collect_status') === 'Y') { if (window.sessionStorage.getItem('collect_status') === 'Y') {
this.src = require('@/assets/productQuery/coll-success.png') this.src = require('@/assets/productQuery/coll-success.png')
} else {
this.src = require('@/assets/productQuery/collect.png')
} }
}, },
methods: methods:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment