用户导入邮箱

master
lion 10 months ago
parent 58512fe51a
commit aaaabc3f8c

@ -77,11 +77,21 @@ export default {
}); });
}, },
uploadSuccess(response) { uploadSuccess(response) {
console.log("response",response)
if(response.errmsg){
this.$message({
message: response.errmsg,
type: "warning",
});
}else{
this.$message({
message: `There are a total of ${response.total} pieces of data, with ${response.create} new pieces added and ${response.update} updated`,
type: "success",
});
}
this.tableList = response; this.tableList = response;
this.$message({
message: `Upload successful`,
type: "success",
});
this.hidden(); this.hidden();
this.$emit('refresh') this.$emit('refresh')
}, },

@ -200,6 +200,12 @@
label: 'Created At', label: 'Created At',
align: 'left', align: 'left',
width: 240 width: 240
},
{
prop: 'updated_at',
label: 'Updated At',
align: 'left',
width: 240
} }
] ]

@ -25,7 +25,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath * Detail: https://cli.vuejs.org/config/#publicpath
*/ */
publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin', publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin',
outputDir: '/Users/mac/Documents/朗业/2024/s-美国赛分/saifen/public/admin_test', outputDir: '/Users/mac/Documents/朗业/2024/s-美国赛分/saifen/public/admin',
assetsDir: 'static', assetsDir: 'static',
css: { css: {
loaderOptions: { // 向 CSS 相关的 loader 传递选项 loaderOptions: { // 向 CSS 相关的 loader 传递选项

Loading…
Cancel
Save