字串整改

Signed-off-by: zhengyongjie <15531316327@163.com>
This commit is contained in:
zhengyongjie 2024-06-24 14:20:31 +08:00
parent 72d89d9bbd
commit faf12ce4f6
2 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,9 @@
* limitations under the License.
*/
import { Log } from '../utils/Log';
const TAG = 'DiskLruCache';
/**
* A class provides persistent operation for memory cache.

View File

@ -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);
}