remove wasm
This commit is contained in:
@@ -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
|
||||
VUE_APP_NOTE_MAX_DESC = 128K
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user