Pārlūkot izejas kodu

fix: 组件模板 to 组价模板

vian 5 gadi atpakaļ
vecāks
revīzija
64e8a89e7b

+ 1 - 1
modules/all_models/share_lib.js

@@ -6,7 +6,7 @@ const shareSchema = new Schema({
     compilationID: String,
     owner: String, // 拥有者ID
     receiver: String, // 接收者ID
-    libType: Number, // 1: 定额库; 2: 人材机库; 3: 组模板库;
+    libType: Number, // 1: 定额库; 2: 人材机库; 3: 组模板库;
     allowCooperate: {
         type: Boolean,
         default: false

+ 1 - 1
modules/main/facade/block_lib_facade.js

@@ -97,7 +97,7 @@ async function copyTemplateLib(userID, userName, compilationID) {
         userID: userID,
         compilationID: compilationID,
         libID: uuid.v1(),
-        libName: `${userName}的组模板`,
+        libName: `${userName}的组模板`,
         datas: template.datas,
         share: template.share
     };