From fbca85de5ca5e9c121282113dc8b36e7454f8aa8 Mon Sep 17 00:00:00 2001 From: Jesse-Ma <24167796@qq.com> Date: Thu, 25 May 2023 09:36:09 +0800 Subject: [PATCH] remove wasm --- .env.production | 4 +--- src/views/EditNote.vue | 9 --------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.env.production b/.env.production index 4950821..491d1bc 100644 --- a/.env.production +++ b/.env.production @@ -3,6 +3,4 @@ VUE_APP_FLAG=prod VUE_APP_BASE_NAME = production VUE_APP_BASE_URL = https://flagnote.com VUE_APP_NOTE_MAX_COUNT = 131072 -VUE_APP_NOTE_MAX_DESC = 128K -VUE_APP_CDN_PROVIDER = jsdelivr -# VUE_APP_CDN_PROVIDER = unpkg \ No newline at end of file +VUE_APP_NOTE_MAX_DESC = 128K \ No newline at end of file diff --git a/src/views/EditNote.vue b/src/views/EditNote.vue index 3402e1f..f4c5802 100644 --- a/src/views/EditNote.vue +++ b/src/views/EditNote.vue @@ -252,12 +252,6 @@ export default { this.noteForm.key = this.$route.params.name; let keyMeta = this.$route.meta.keyMeta; - //ipad chrome url not redirect - // let path = location.pathname; - // if ("/" == path) { - // history.pushState('', '', '/' + this.noteForm.key); - // } - //wx does not show downloadText this.model.showDownloadText = !isWeixin(); @@ -307,9 +301,6 @@ export default { this.bindCtrlAllEvent(); this.bindToTopEvent(); - if(window.wasm_flate_bg_path){ - window.wasm_bindgen(window.wasm_flate_bg_path); - } }, mounted() { window.addEventListener('beforeunload', e => this.beforeunloadHandler(e))