Pārlūkot izejas kodu

添加数学公式包裹提示,应用弹框添加区域筛选

11wqe1 2 mēneši atpakaļ
vecāks
revīzija
2c5585f195

+ 21 - 1
src/components/pages/components/appDialog.vue

@@ -51,6 +51,19 @@
                   :value="item.value"
                 ></el-option>
               </el-select>
+              <el-select
+                v-model="AreaType"
+                placeholder="请选择状态"
+                @change="changeSelectType"
+                style="width: 110px;margin-right: 10px;"
+              >
+                <el-option
+                  v-for="item in AreaSelect"
+                  :key="item.value"
+                  :label="item.label"
+                  :value="item.value"
+                ></el-option>
+              </el-select>
             </div>
 
             <div>
@@ -440,6 +453,12 @@ export default {
         { value: "agent", label: "智能体" },
         { value: "workflow", label: "工作流" }
       ],
+      AreaType:'',
+      AreaSelect: [
+        { value: "cn", label: "cn" },
+        { value: "hk", label: "hk" },
+        { value: "com", label: "com" }
+      ],
       userId: this.$route.query["userid"],
       org: this.$route.query["org"],
       oid: this.$route.query["oid"],
@@ -503,6 +522,7 @@ export default {
       this.type = type;
       const { data } = await this.ajax.get(this.$store.state.api + 'select_oidArea', { oid: this.oid });
       this.region = data[0][0].area;
+      this.AreaType = data[0][0].area;
       this.getAppStoreControl().then(_ => {
         this.getData();
         this.getTypeList();
@@ -614,7 +634,7 @@ export default {
         label: this.selectLabel, //应用的标签搜索
         type: this.showType, //应用的类型
         juri: this.selectJuri, //应用权限 1:我的  2:组织内  3:所有人
-        stand: this.region ? this.region : "cn", //cn站还是hk站
+        stand: this.AreaType ? this.AreaType : "cn", //cn站还是hk站
         status: this.statusType,
         exportType:
           this.controlsObj &&

+ 2 - 1
src/components/pages/newCourse/addCourse.vue

@@ -1020,6 +1020,7 @@
                               "
                               style="margin-top: 20px"
                             >
+                              <div style="margin-bottom: 5px;">提示:如输入数学公式需加$符号包裹。例:$a^2 + b^2 = c^2$</div>
                               <editor-bar
                                 class="addEditor"
                                 style="margin: 0"
@@ -18552,7 +18553,7 @@ ol {
 
 .addEditor >>> .text {
   height: auto;
-  min-height: 100px;
+  min-height: 200px;
 }
 
 .addEditor >>> .w-e-text-container {