Przeglądaj źródła

fix: 23891 (v1.1.0全景看看)当创建的作品就只填了个标题时,点击预览和分享没有提示

任一存 3 lat temu
rodzic
commit
a1e62a3d6d
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/views/material/works/index.vue

+ 2 - 2
src/views/material/works/index.vue

@@ -158,7 +158,7 @@ export default {
     openShare(data){
     openShare(data){
       getPanoInfo(data.id, (data) => {
       getPanoInfo(data.id, (data) => {
         if (data.scenes.length<=0) {
         if (data.scenes.length<=0) {
-          return this.$msg.message("链接未生成,请编辑作品添加素材");
+          return this.$msg.warning("链接未生成,请编辑作品添加素材");
         }
         }
         this.showShare = true
         this.showShare = true
         this.shareItem = data
         this.shareItem = data
@@ -168,7 +168,7 @@ export default {
     handlePreview(item){
     handlePreview(item){
       getPanoInfo(item.id, (data) => {
       getPanoInfo(item.id, (data) => {
         if (data.scenes.length<=0) {
         if (data.scenes.length<=0) {
-          return this.$msg.message("链接未生成,请编辑作品添加素材");
+          return this.$msg.warning("链接未生成,请编辑作品添加素材");
         }
         }
         this.showItem = {
         this.showItem = {
           ...item,
           ...item,