Commit 9961e931 authored by lyong's avatar lyong

refactor(factoryTest): 格式化WiFi连接函数代码并修正语法错误

parent 370c78c2
...@@ -110,9 +110,9 @@ function onGotoWlanEnterPasswordPageEvent(value, signal) { ...@@ -110,9 +110,9 @@ function onGotoWlanEnterPasswordPageEvent(value, signal) {
function connect_wifi(ssid, psk) { function connect_wifi(ssid, psk) {
var getPath = require("getPath.js"); var getPath = require("getPath.js");
var fullPath = getPath.getFactoryFullPath(); var fullPath = getPath.getFactoryFullPath();
if(1){ if (1) {
systemCtrl.executeSystemCommand(fullPath+"factoryTest_plugin/shell/connectWifi.sh" + " " + ssid + " " + psk) systemCtrl.executeSystemCommand(fullPath + "factoryTest_plugin/shell/connectWifi.sh" + " " + ssid + " " + psk)
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment