mirror of
https://gitee.com/openharmony/applications_launcher
synced 2024-11-23 06:50:02 +00:00
字串整改
Signed-off-by: zhengyongjie <15531316327@163.com>
This commit is contained in:
parent
72d89d9bbd
commit
faf12ce4f6
@ -13,6 +13,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Log } from '../utils/Log';
|
||||
|
||||
const TAG = 'DiskLruCache';
|
||||
|
||||
/**
|
||||
* A class provides persistent operation for memory cache.
|
||||
|
@ -143,7 +143,7 @@ export class FormManager {
|
||||
*/
|
||||
async getFormConfigAbility(bundle: string, moduleName: string, abilityName: string, cardName: string): Promise<string> {
|
||||
const formList = await formManagerAbility.getFormsInfo(bundle);
|
||||
let formConfigAbility = '';
|
||||
let formConfigAbility = "";
|
||||
for (const formItem of formList) {
|
||||
if (formItem.moduleName === moduleName && formItem.abilityName === abilityName && formItem.name === cardName ) {
|
||||
formConfigAbility = formItem.formConfigAbility;
|
||||
@ -184,7 +184,6 @@ export class FormManager {
|
||||
* @param formId
|
||||
*/
|
||||
async deleteCard(formId: string): Promise<void> {
|
||||
Log.showInfo(TAG, `delete form info by formId, formId:${formId}`);
|
||||
return await formManagerAbility.deleteForm(formId);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user