소스 검색

Merge pull request #1257 from liuweitian/master

"关闭预览"修改为轻提示,避免每次进入同一个长文档都被打断操作
star7th 4 년 전
부모
커밋
d3a9864498
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web_src/src/components/page/edit/Index.vue

+ 1 - 1
web_src/src/components/page/edit/Index.vue

@@ -389,7 +389,7 @@ export default {
       childRef.editor_unwatch()
       if (sessionStorage.getItem('page_id_unwatch_' + this.page_id)) {
       } else {
-        this.$alert(this.$t('long_page_tips'))
+        this.$message(this.$t('long_page_tips'))
         sessionStorage.setItem('page_id_unwatch_' + this.page_id, 1)
       }
     },