Przeglądaj źródła

m模版

ctt_dev_new
chutingting 1 rok temu
rodzic
commit
1247c83be3
2 zmienionych plików z 3 dodań i 2 usunięć
  1. +2
    -1
      src/apis/template.js
  2. +1
    -1
      src/views/video/index.vue

+ 2
- 1
src/apis/template.js Wyświetl plik

@@ -6,8 +6,9 @@ import request from "@/utils/request.js";
* @returns data
*/
export function templateListApi(pageNum, pageSize) {
let api = localStorage.getItem("isAdmin") === '1' && localStorage.getItem("localDeploy") === 'true' ? '/personMould/alList' : '/personMould/serviceMouldList'
return request({
url: `/personMould/serviceMouldList?pageNum=${pageNum}&pageSize=${pageSize}`,
url: `${api}?pageNum=${pageNum}&pageSize=${pageSize}`,
method: 'get'
})
}

+ 1
- 1
src/views/video/index.vue Wyświetl plik

@@ -76,7 +76,7 @@
const total = ref(0);
const getDate = (val) => {
return dayjs(val).format("YYYY-MM-DD");
return dayjs(Number(val)).format("YYYY-MM-DD");
};
const handleSizeChange = (val) => {


Ładowanie…
Anuluj
Zapisz