|
@@ -197,13 +197,15 @@ export default {
|
|
|
),
|
|
|
openShare(data) {
|
|
|
console.log(data);
|
|
|
- getPanoInfo(data.id, (data) => {
|
|
|
- if (data.scenes.length <= 0) {
|
|
|
- return this.$msg.warning(this.$i18n.t("material.works.no_link"));
|
|
|
- }
|
|
|
- this.showShare = true;
|
|
|
- this.shareItem = data;
|
|
|
- });
|
|
|
+ this.showShare = true;
|
|
|
+ this.shareItem = { id: data.id };
|
|
|
+ // getPanoInfo(data.id, (data) => {
|
|
|
+ // if (data.scenes.length <= 0) {
|
|
|
+ // return this.$msg.warning(this.$i18n.t("material.works.no_link"));
|
|
|
+ // }
|
|
|
+ // this.showShare = true;
|
|
|
+ // this.shareItem = data;
|
|
|
+ // });
|
|
|
},
|
|
|
|
|
|
handlePreview(item) {
|