update style

parent d2a0a98c
......@@ -22,7 +22,7 @@ export default defineComponent({
slide.value = value - 1;
}
);
const slide = ref(1);
const slide = ref(0);
const slideStory = ref(0);
const editor = ref('Customize it.');
const accountRules = [
......
import { defineComponent, PropType, Ref, ref } from 'vue';
import { defineComponent, PropType } from 'vue';
import { i18n } from 'src/boot/i18n';
import { BankAccountType } from 'src/assets/type';
......@@ -54,7 +54,15 @@ export default defineComponent({
'artist.dialogLabel.validateMessages.errorIsDefault'
),
});
} else context.emit('addNewBankAccount');
} else {
Notify.create({
type: 'positive',
message: i18n.global.t(
'artist.dialogLabel.validateMessages.addAccess'
),
});
context.emit('addNewBankAccount');
}
};
return {
defaultStatus,
......
......@@ -359,7 +359,7 @@ export default {
addArtist: 'Thêm nghệ sỹ',
updateArtist: 'Cập nhật nghệ sỹ',
addAccountBank: 'Thêm tài khoản ngân hàng',
addHotProduct: 'Thêm sản phẩm nổi bật'
addHotProduct: 'Thêm sản phẩm nổi bật',
},
fieldLabels: {
accountNumber: 'Mã thẻ',
......@@ -373,7 +373,8 @@ export default {
requireCardNumber: 'Vui lòng nhập số ghi trên thẻ',
requireBankName: 'Vui lòng chọn ngân hàng',
requireCardType: 'Vui lòng chọn loại thẻ',
errorIsDefault: 'Nghệ sỹ đã có tài khoản mặc định',
errorIsDefault: 'Nghệ sỹ đã có tài khoản ngân hàng mặc định',
addAccess: 'Thêm tài khoản ngân hàng thành công',
},
},
confirmActionsTitle: {
......
......@@ -256,7 +256,6 @@ export default defineComponent({
cardType: cardType.value,
isDefault: isDefault.value,
};
bankAccounts.value.push(newAccount as BankAccountType);
isOpenAddAccountBankDialog.value = false;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment