优化:删除test_page.html无用的代码
This commit is contained in:
1 parent
1cff39cec4
commit
a1f6795d44
1 file changed
-13
@@ -1865,19 +1865,6 @@
|
||||
};
|
||||
}
|
||||
|
||||
// 验证配置
|
||||
function validateConfig(config) {
|
||||
if (!config.deviceMac) {
|
||||
log('设备MAC地址不能为空', 'error');
|
||||
return false;
|
||||
}
|
||||
if (!config.clientId) {
|
||||
log('客户端ID不能为空', 'error');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
initApp();
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user