diff --git a/hybrid/html/scanner.html b/hybrid/html/scanner.html
deleted file mode 100644
index 425a62b..0000000
--- a/hybrid/html/scanner.html
+++ /dev/null
@@ -1 +0,0 @@
-deprecated - use scan-isbn.nvue
\ No newline at end of file
diff --git a/pages/upload/scan-isbn.nvue b/pages/upload/scan-isbn.nvue
index 5643eee..4eaf0a5 100644
--- a/pages/upload/scan-isbn.nvue
+++ b/pages/upload/scan-isbn.nvue
@@ -1,6 +1,6 @@
-
+
✕
@@ -23,7 +23,7 @@
},
methods: {
initBarcode() {
- if (!window.plus) {
+ if (typeof plus === 'undefined') {
uni.showToast({ title: '扫码初始化失败', icon: 'none' })
return
}