update

parent cfcebdba
......@@ -325,6 +325,10 @@ export default defineComponent({
const addStory = (value: StoriesType) => {
stories.value.push(value);
};
const UpdateBirtday = (value: string) => {
// console.log(value);
birthday.value = value;
};
const deleteStory = (idx: number) => {
Dialog.create({
......@@ -369,7 +373,7 @@ export default defineComponent({
artistCode: artistCode.value,
artistName: artistName.value,
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
birthday: birthday.value + '00:00:00',
birthday: birthday.value + ' 00:00:00',
sex: sex.value,
address: address.value,
phoneNumber: phoneNumber.value,
......@@ -508,6 +512,7 @@ export default defineComponent({
isOpenAddStory,
addStory,
deleteStory,
UpdateBirtday,
};
},
});
......@@ -60,6 +60,7 @@
:work-options="workOptions"
@SetAvatar="setAvatar($event)"
@deleteAvatar="deleteAvatar"
@UpdateBirtday="UpdateBirtday($event)"
></PersonalInformation>
</q-tab-panel>
<q-tab-panel name="vabAccount">
......
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