...
|
...
|
@@ -87,13 +87,13 @@ export default class ProductDetail extends Component { |
|
|
|
|
|
componentWillMount() {
|
|
|
let options = this.$router.params;
|
|
|
|
|
|
if (options && options.scene) {
|
|
|
console.log(options.scene);
|
|
|
// let code = '073c8bb068f4fc9d8dc573b5d4284e3f';
|
|
|
let code = options.scene;
|
|
|
getQRCodeSource(code).then(json => {
|
|
|
if (json) {
|
|
|
this.loadElement(json);
|
|
|
this.loadElement(json);
|
|
|
}
|
|
|
})
|
|
|
.catch(error => {
|
...
|
...
|
|