chore: prettier source code

This commit is contained in:
chenjiahan
2020-04-02 15:36:02 +08:00
parent 340c56b3b5
commit 2fb5cca49a
93 changed files with 272 additions and 283 deletions
+3 -3
View File
@@ -180,8 +180,8 @@ export default {
customSkuValidator: () => '请选择xxx',
customStepperConfig: {
quotaText: '单次限购100件',
stockFormatter: stock => `剩余${stock}`,
handleOverLimit: data => {
stockFormatter: (stock) => `剩余${stock}`,
handleOverLimit: (data) => {
const { action, limitType, quota, startSaleNum = 1 } = data;
if (action === 'minus') {
@@ -202,7 +202,7 @@ export default {
留言1: '商品留言',
},
uploadImg: (file, img) =>
new Promise(resolve => {
new Promise((resolve) => {
setTimeout(() => resolve(img), 1000);
}),
uploadMaxSize: 3,