|
@@ -64,6 +64,7 @@ import tools from "@/api/sys/tools";
|
|
|
import PrivatePartyPointService from "@/api/privateparty/PrivatePartyPointService";
|
|
|
import UserManage from "@/api/user/UserManage";
|
|
|
import { useRoute } from "vue-router";
|
|
|
+import { formatDate, formatTime } from "@/utils/datatime";
|
|
|
// 富文本编辑器
|
|
|
import WangEditor from "@/components/editor/WangEditor";
|
|
|
export default {
|
|
@@ -121,8 +122,8 @@ export default {
|
|
|
});
|
|
|
// 获取活动时间
|
|
|
let showAct = ref(false);
|
|
|
- let currentDate = ref(["" + new Date().getFullYear(), "01", "01"]);
|
|
|
- let currentTime = ref(["00", "00", "00"]);
|
|
|
+ let currentDate = ref(formatDate(new Date()));
|
|
|
+ let currentTime = ref(formatTime(new Date()));
|
|
|
const columnsType = ["hour", "minute", "second"];
|
|
|
const getTime = () => {
|
|
|
showAct.value = false;
|