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