mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-20 18:05:53 +08:00
-fix APP版本时间问题,微信消息修改时间问题
This commit is contained in:
@@ -342,11 +342,13 @@ export default {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
this.submitLoading = true;
|
||||
const versionUpdateDate = this.$options.filters.unixToDate(
|
||||
this.form.versionUpdateDate / 1000
|
||||
);
|
||||
this.form.versionUpdateDate = versionUpdateDate;
|
||||
this.form.updateTime = versionUpdateDate;
|
||||
if(JSON.stringify(this.form.versionUpdateDate).includes('T')){
|
||||
const versionUpdateDate = this.$options.filters.unixToDate(
|
||||
this.form.versionUpdateDate / 1000
|
||||
);
|
||||
this.form.versionUpdateDate = versionUpdateDate;
|
||||
this.form.updateTime = versionUpdateDate;
|
||||
}
|
||||
if (this.modalType == 0) {
|
||||
// 添加 避免编辑后传入id等数据 记得删除
|
||||
delete this.form.id;
|
||||
|
||||
Reference in New Issue
Block a user