소스 검색

部署后提示用户更新28

tyler 2 년 전
부모
커밋
2950a2a2bd
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/App.vue

+ 1 - 2
src/App.vue

@@ -14,8 +14,7 @@ export default {
     const language = store.state.app.language
     document.body.addEventListener('plugin_web_update_notice', (e) => {
       const { version, options } = e.detail
-      // write some code, show your custom notification.
-      console.log(version, options)
+      // console.log(version, options)
       if (language === 'en') {
         self.$confirm('System update detected, please refresh the page?', '📢 System update', {
           distinguishCancelAndClose: true,