remove wasm

This commit is contained in:
Jesse-Ma
2023-05-25 09:36:09 +08:00
parent 8dfb189985
commit fbca85de5c
2 changed files with 1 additions and 12 deletions

View File

@@ -4,5 +4,3 @@ VUE_APP_BASE_NAME = production
VUE_APP_BASE_URL = https://flagnote.com VUE_APP_BASE_URL = https://flagnote.com
VUE_APP_NOTE_MAX_COUNT = 131072 VUE_APP_NOTE_MAX_COUNT = 131072
VUE_APP_NOTE_MAX_DESC = 128K VUE_APP_NOTE_MAX_DESC = 128K
VUE_APP_CDN_PROVIDER = jsdelivr
# VUE_APP_CDN_PROVIDER = unpkg

View File

@@ -252,12 +252,6 @@ export default {
this.noteForm.key = this.$route.params.name; this.noteForm.key = this.$route.params.name;
let keyMeta = this.$route.meta.keyMeta; 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 //wx does not show downloadText
this.model.showDownloadText = !isWeixin(); this.model.showDownloadText = !isWeixin();
@@ -307,9 +301,6 @@ export default {
this.bindCtrlAllEvent(); this.bindCtrlAllEvent();
this.bindToTopEvent(); this.bindToTopEvent();
if(window.wasm_flate_bg_path){
window.wasm_bindgen(window.wasm_flate_bg_path);
}
}, },
mounted() { mounted() {
window.addEventListener('beforeunload', e => this.beforeunloadHandler(e)) window.addEventListener('beforeunload', e => this.beforeunloadHandler(e))