瀏覽代碼

no message

DESKTOP-SVI9JE1\muzen 1 年之前
父節點
當前提交
c55f140a86
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/components/GanttChart/index.vue

+ 5 - 1
src/components/GanttChart/index.vue

@@ -131,7 +131,7 @@ function getTime() {
       let d = nowDate.value.getDate()
       start = new Date(y, m, d).getTime() + start * 1000
       end = new Date(y, m, d).getTime() + end * 1000
-      if(i === 23) {
+      if (i === 23) {
         end = start + 3600000
       }
     }
@@ -252,6 +252,9 @@ watch(organizationIds, (val) => {
 watch(() => storeData.storeId, (val) => {
   data.timeList.map(i => i.list = [])
   storeId.value = val
+})
+
+watch(storeId, (val) => {
   if (val) {
     getTimeList()
   }
@@ -334,6 +337,7 @@ const storeName = (val) => {
 }
 
 .popper {
+
   .title,
   .main {
     line-height: 35px;