This commit is contained in:
2026-09-04 14:41:29 +08:00
parent 688eddfa77
commit 44eb8d17f2
5 changed files with 13 additions and 82 deletions
@@ -925,7 +925,8 @@ describe('GlobalSmartLoadingView', () => {
const source = readFileSync(resolve(process.cwd(), 'src/modules/container-loading/pages/GlobalSmartLoadingView.vue'), 'utf8')
expect(source).toContain('<el-checkbox-group :model-value="selectedChannelCodes"')
expect(source).toContain('<el-checkbox-button v-for="channel in channelOptions"')
expect(source).toContain('v-for="channel in channelOptions"')
expect(source).toContain('@dblclick.stop.prevent="selectOnlyChannel(channel.code)"')
expect(source).toContain('{{ channel.name }}')
expect(source).toContain("ElMessage.warning('至少选择一个渠道')")
expect(source).toContain('class="compact-summary" aria-label="已选渠道装柜统计"')