From c908d9c840e942275603af5ee856aef5826228f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E5=AD=A6=E8=88=9F?= Date: Wed, 10 Jan 2024 09:08:22 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=20oat=E5=91=8A=E8=AD=A6?= =?UTF-8?q?=EF=BC=8Cupdate=20napi/query=5Fsyscap.js.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 严学舟 --- napi/query_syscap.js | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/napi/query_syscap.js b/napi/query_syscap.js index 6ea4023..2edc9a7 100644 --- a/napi/query_syscap.js +++ b/napi/query_syscap.js @@ -1,7 +1,22 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // 首先需要通过requireInternal函数加载本模块 const systemCapability = requireInternal('systemCapability'); // 这里定义了模块对外暴露的所有api export default { - querySystemCapabilities: systemCapability.querySystemCapabilities -} \ No newline at end of file + querySystemCapabilities: systemCapability.querySystemCapabilities +}; \ No newline at end of file