feat: 同步精简接口并统一表单校验
This commit is contained in:
@@ -56,6 +56,7 @@ describe('精简入口保留功能', () => {
|
||||
await flushPromises()
|
||||
await wrapper.get('.n-collapse-item__header-main').trigger('click')
|
||||
await wrapper.get('form').trigger('submit')
|
||||
await flushPromises()
|
||||
expect(wrapper.emitted('save')).toMatchObject([
|
||||
[{ characterPrompt: '人物风格', hardConstraints: ['保留硬约束'] }]
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user