chore: 删除无用log

This commit is contained in:
roymondchen 2023-08-15 16:13:53 +08:00
parent 2b07a6de2d
commit ccd6fd2be3
2 changed files with 2 additions and 3 deletions

View File

@ -16,6 +16,7 @@ import { computed, ref } from 'vue';
import { FormConfig, MForm } from '@tmagic/form'; import { FormConfig, MForm } from '@tmagic/form';
import type { CodeParamStatement } from '@editor/type'; import type { CodeParamStatement } from '@editor/type';
import { error } from '@editor/utils';
defineOptions({ defineOptions({
name: 'MEditorCodeParams', name: 'MEditorCodeParams',
@ -53,7 +54,7 @@ const onParamsChangeHandler = async () => {
const value = await form.value?.submitForm(true); const value = await form.value?.submitForm(true);
emit('change', value); emit('change', value);
} catch (e) { } catch (e) {
console.log(e); error(e);
} }
}; };
</script> </script>

View File

@ -170,8 +170,6 @@ export default class StageMultiDragResize extends MoveableOptionsManager {
target: this.dragResizeHelper.getShadowEls(), target: this.dragResizeHelper.getShadowEls(),
}); });
console.log(options);
Object.entries(options).forEach(([key, value]) => { Object.entries(options).forEach(([key, value]) => {
(this.moveableForMulti as any)[key] = value; (this.moveableForMulti as any)[key] = value;
}); });