[Improvement] Sku: support i18n (#439)

This commit is contained in:
neverland
2017-12-15 15:38:32 +08:00
committed by GitHub
parent 2db9b12816
commit f43b496333
13 changed files with 846 additions and 507 deletions

View File

@@ -216,7 +216,7 @@ describe('Sku', (done) => {
buyBtn.trigger('click');
wrapper.vm.$nextTick(() => {
expect(toastText.textContent).to.equal('留言4 写的太多了<br/>不要超过200字');
expect(toastText.textContent).to.equal('留言4 写的太多了不要超过200字');
textarea.element.value = '';
// 测试数字留言