This commit is contained in:
孟帅
2023-10-08 16:04:11 +08:00
parent b05f1fac36
commit f49bb56b12
50 changed files with 1280 additions and 533 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "hotgo",
"version": "2.8.9",
"version": "2.9.3",
"author": {
"name": "MengShuai",
"email": "133814250@qq.com",

View File

@@ -15,7 +15,7 @@
:rules="rules"
ref="formRef"
label-placement="left"
:label-width="80"
:label-width="100"
class="py-4"
>
<n-form-item label="分类ID" path="categoryId">

View File

@@ -1,11 +1,11 @@
<template>
<div>
<div class="n-layout-page-header">
<n-card :bordered="false" title="生成演示">
<!-- 这是由系统生成的CURD表格你可以将此行注释改为表格的描述 -->
</n-card>
</div>
<n-card :bordered="false" class="proCard">
<div class="n-layout-page-header">
<n-card :bordered="false" title="生成演示">
<!-- 这是系统自动生成的CURD表格你可以将此行注释改为表格的描述 -->
</n-card>
</div>
<BasicForm
@register="register"

View File

@@ -34,7 +34,7 @@ export interface State {
deletedAt: string;
}
export const defaultState = {
export const defaultState: State = {
id: 0,
categoryId: 0,
title: '',
@@ -173,7 +173,7 @@ export const columns = [
width: 32,
height: 32,
src: row.image,
fallbackSrc: errorImg,
onError: errorImg,
style: {
width: '32px',
height: '32px',
@@ -288,4 +288,4 @@ async function loadOptions() {
}
}
await loadOptions();
await loadOptions();

View File

@@ -139,7 +139,9 @@
watch(
() => props.formParams,
(value) => {
loadForm(value);
if (isShowModal.value) {
loadForm(value);
}
}
);
</script>

View File

@@ -139,7 +139,9 @@
watch(
() => props.formParams,
(value) => {
loadForm(value);
if (isShowModal.value) {
loadForm(value);
}
}
);
</script>