|
@@ -87,13 +87,13 @@ export default class ProductDetail extends Component { |
|
@@ -87,13 +87,13 @@ export default class ProductDetail extends Component { |
87
|
|
87
|
|
88
|
componentWillMount() {
|
88
|
componentWillMount() {
|
89
|
let options = this.$router.params;
|
89
|
let options = this.$router.params;
|
90
|
-
|
|
|
91
|
if (options && options.scene) {
|
90
|
if (options && options.scene) {
|
|
|
91
|
+ console.log(options.scene);
|
92
|
// let code = '073c8bb068f4fc9d8dc573b5d4284e3f';
|
92
|
// let code = '073c8bb068f4fc9d8dc573b5d4284e3f';
|
93
|
let code = options.scene;
|
93
|
let code = options.scene;
|
94
|
getQRCodeSource(code).then(json => {
|
94
|
getQRCodeSource(code).then(json => {
|
95
|
if (json) {
|
95
|
if (json) {
|
96
|
- this.loadElement(json);
|
96
|
+ this.loadElement(json);
|
97
|
}
|
97
|
}
|
98
|
})
|
98
|
})
|
99
|
.catch(error => {
|
99
|
.catch(error => {
|