push to master

This commit is contained in:
KarolChang 2022-01-04 13:45:46 +08:00
parent 311abdf014
commit 643b8607e8

View File

@ -112,16 +112,16 @@ const createRecord = async function (formValues: { input: RecordInput }) {
title: '成功建立資料!'
})
// line msg
const input = {
to: [process.env.VUE_APP_JIANMIAU_USERID, process.env.VUE_APP_KAROL_USERID],
messages: [
{
type: 'text',
text: `${store.currentUser}新增了一筆關於${formValues.input.item}的記帳`
}
]
}
await recordAPI.pushLineMsg(input)
// const input = {
// to: [process.env.VUE_APP_JIANMIAU_USERID, process.env.VUE_APP_KAROL_USERID],
// messages: [
// {
// type: 'text',
// text: `${store.currentUser}${formValues.input.item}`
// }
// ]
// }
// await recordAPI.pushLineMsg(input)
} catch (error) {
console.error('error', error)
Toast.fire({