mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-27 11:00:39 +00:00
0106 modify print format
Signed-off-by: @chuangda_1 <fangwanning@huawei.com>
This commit is contained in:
parent
46d172629d
commit
a1edc504af
@ -586,10 +586,9 @@ std::shared_ptr<PrintJob> PrintJob::BuildFromJs(napi_env env, napi_value jsValue
|
||||
nativeObj->SetColorMode(colorMode);
|
||||
nativeObj->SetDuplexMode(duplexMode);
|
||||
|
||||
auto ans = std::make_shared<PrintJob>();
|
||||
ans = BuildJsWorkerIsLegal(env, jsValue, jobId, jobState, subState, nativeObj);
|
||||
BuildJsWorkerIsLegal(env, jsValue, jobId, jobState, subState, nativeObj);
|
||||
nativeObj->Dump();
|
||||
return ans;
|
||||
return nativeObj;
|
||||
}
|
||||
|
||||
std::shared_ptr<PrintJob> PrintJob::BuildJsWorkerIsLegal(napi_env env, napi_value jsValue, std::string jobId,
|
||||
|
Loading…
Reference in New Issue
Block a user