feat(api): 添加 parentId 和 choiceContent 字段支持
- 在 cmsDesign 模型中添加 parentId 字段 - 在 hjmChoices 模型中添加 choiceContent 字段 - 更新 shopExpressTemplate 模型字段注释并添加 sortNumber 和 comments 字段 - 更新 shopGoodsCoupon 模型添加 comments 字段- 在多个 Vue 组件中移除冗余字段并设置默认值- 移除未使用的导入和相关逻辑代码 - 清理版本管理页面的无用代码和样式
This commit is contained in:
@@ -82,24 +82,11 @@ import { messageLoading } from "ele-admin-pro/es";
|
||||
import { openNew } from "@/utils/common";
|
||||
import { onClone } from "@/utils/plug-uitl";
|
||||
import { hasRole } from "@/utils/permission";
|
||||
// 中文语言文件
|
||||
import zh_Hans from "bytemd/locales/zh_Hans.json";
|
||||
import zh_HansGfm from "@bytemd/plugin-gfm/locales/zh_Hans.json";
|
||||
import highlight from "@bytemd/plugin-highlight";
|
||||
import gfm from "@bytemd/plugin-gfm";
|
||||
import { uploadOss } from "@/api/system/file";
|
||||
|
||||
// 是否开启响应式布局
|
||||
const themeStore = useThemeStore();
|
||||
const { styleResponsive } = storeToRefs(themeStore);
|
||||
const tenantStore = useTenantStore();
|
||||
// tab 页选中
|
||||
const active = ref("info");
|
||||
// 保存按钮 loading
|
||||
const loading = ref(false);
|
||||
// 是否显示裁剪弹窗
|
||||
const visible = ref(false);
|
||||
const title = ref("");
|
||||
// 是否显示编辑弹窗
|
||||
const showEdit = ref(false);
|
||||
// 当前编辑数据
|
||||
@@ -125,14 +112,6 @@ const form = reactive<Company>({
|
||||
updateTime: ""
|
||||
});
|
||||
|
||||
// 插件
|
||||
const plugins = ref([
|
||||
gfm({
|
||||
locale: zh_HansGfm
|
||||
}),
|
||||
highlight()
|
||||
]);
|
||||
|
||||
const download = (row?: Version) => {
|
||||
if (row?.vueDownloadUrl) {
|
||||
openNew(row?.vueDownloadUrl);
|
||||
@@ -224,12 +203,6 @@ export default {
|
||||
}
|
||||
|
||||
.version-name {
|
||||
.ele-text-heading {
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
margin-bottom: 10px;
|
||||
|
||||
.time {
|
||||
|
||||
Reference in New Issue
Block a user