guoziyun před 9 měsíci
rodič
revize
961e180dd2

+ 1 - 1
oms/public/app/index.html

@@ -9,5 +9,5 @@
   <style>body,html{width:100%;height:100%}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}body{margin:0;color:#000000d9;font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-variant:tabular-nums;line-height:1.5715;background-color:#fff;font-feature-settings:"tnum"}html{--antd-wave-shadow-color:#1890ff;--scroll-bar:0}</style><link rel="stylesheet" href="styles-LXBSU6DF.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-LXBSU6DF.css"></noscript></head>
   <body>
     <app-root></app-root>
-  <script src="polyfills-B6TNHZQ6.js" type="module"></script><script src="main-UWDTDAZP.js" type="module"></script></body>
+  <script src="polyfills-B6TNHZQ6.js" type="module"></script><script src="main-AE5IQ2RX.js" type="module"></script></body>
 </html>

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
oms/public/app/main-AE5IQ2RX.js


+ 1 - 0
oms/src/models/messageTemplateModel.ts

@@ -68,6 +68,7 @@ const MessageTemplateSchema: Schema = new Schema(
       required: true,
       enum: Object.values(TemplateType).filter((value) => typeof value === "number"), // 使用枚举值来约束此字段
       default: TemplateType.OTHER,
+      index: true,
     },
     description: { type: String }, // 描述
     messageTitle: { type: Object, of: String, required: true }, // 消息标题,使用嵌套对象支持多语言

+ 1 - 0
omsapp/src/app/pages/message-template.component.ts

@@ -725,6 +725,7 @@ export class MessageTemplateComponent implements OnInit, OnDestroy {
       {
         templateName: template.templateName,
         templateType: template.templateType,
+        description: template.description,
         image: template.image || null,
         bigger: template.bigger || false,
         action: template.action || null,

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů