Unverified 提交 66feb779 作者: CXM 提交者: GitHub

fix: fix build handler & misc (#1060)

* fix(type): fix ant-design-vue  ->

* fix: fix build handler & misc
上级 948219c5
...@@ -11,7 +11,7 @@ export const runBuild = async () => { ...@@ -11,7 +11,7 @@ export const runBuild = async () => {
// Generate configuration file // Generate configuration file
if (!argvList.includes('disabled-config')) { if (!argvList.includes('disabled-config')) {
await runBuildConfig(); runBuildConfig();
} }
console.log(`✨ ${chalk.cyan(`[${pkg.name}]`)}` + ' - build successfully!'); console.log(`✨ ${chalk.cyan(`[${pkg.name}]`)}` + ' - build successfully!');
......
...@@ -31,7 +31,9 @@ export function wrapperEnv(envConf: Recordable): ViteEnv { ...@@ -31,7 +31,9 @@ export function wrapperEnv(envConf: Recordable): ViteEnv {
if (envName === 'VITE_PROXY') { if (envName === 'VITE_PROXY') {
try { try {
realName = JSON.parse(realName); realName = JSON.parse(realName);
} catch (error) {} } catch (error) {
realName = '';
}
} }
ret[envName] = realName; ret[envName] = realName;
if (typeof realName === 'string') { if (typeof realName === 'string') {
......
...@@ -97,7 +97,6 @@ ...@@ -97,7 +97,6 @@
const current = ref(props.currentPage || 1); const current = ref(props.currentPage || 1);
const getData = computed(() => { const getData = computed(() => {
const { pageSize, list } = props; const { pageSize, list } = props;
console.log('refreshData', list);
if (pageSize === false) return []; if (pageSize === false) return [];
let size = isNumber(pageSize) ? pageSize : 5; let size = isNumber(pageSize) ? pageSize : 5;
return list.slice(size * (unref(current) - 1), size * unref(current)); return list.slice(size * (unref(current) - 1), size * unref(current));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论