|
@@ -122,7 +122,7 @@ export default {
|
|
|
_s1.src = "/static/bundle.js";
|
|
|
_s1.type = "text/javascript";
|
|
|
document.head.appendChild(_s1);
|
|
|
- if (this.$route.query.isCamera) {
|
|
|
+ if (this.$route.query.isCamera == "1") {
|
|
|
this.$message.error("摄像头开启失败,请检查摄像头是否可用!");
|
|
|
}
|
|
|
}
|