Browse Source

Select Type统一替换

zlSun 1 year ago
parent
commit
c88a0488a8

+ 1 - 1
atlas/js/views/graph/TypeSystemTreeView.js

@@ -303,7 +303,7 @@ define([ "require", "backbone", "hbs!tmpl/graph/TypeSystemTreeView_tmpl", "colle
             var that = this;
             this.ui.typeSearch.select2({
                 closeOnSelect: !0,
-                placeholder: "Select Type"
+                placeholder: "请选择类型"
             }).on("change.select2", function(e) {
                 if (e.stopPropagation(), e.stopImmediatePropagation(), that.ui.typeSearch.data("refresh")) that.ui.typeSearch.data("refresh", !1); else {
                     var selectedNode = $('[data-id="typeSearch"]').val();

+ 1 - 1
atlas/js/views/search/QueryBuilderView.js

@@ -118,7 +118,7 @@ define([ "require", "backbone", "hbs!tmpl/search/QueryBuilder_tmpl", "hbs!tmpl/s
                             text: model.get("name")
                         });
                     }), obj.plugin = "select2", obj.input = "select", obj.plugin_config = {
-                        placeholder: "Select type",
+                        placeholder: "请选择类型",
                         tags: !0,
                         multiple: !1,
                         data: entityType

+ 1 - 1
atlas/js/views/search/SearchLayoutView.js

@@ -369,7 +369,7 @@ define([ "require", "backbone", "hbs!tmpl/search/SearchLayoutView_tmpl", "utils/
                 }
             })), that.ui.typeLov.html(typeStr);
             var typeLovSelect2 = this.ui.typeLov.select2({
-                placeholder: "Select Type",
+                placeholder: "请选择类型",
                 dropdownAdapter: $.fn.select2.amd.require("ServiceTypeFilterDropdownAdapter"),
                 allowClear: !0,
                 getFilterBox: this.getFilterBox.bind(this),

+ 1 - 1
atlas/n/js/views/graph/TypeSystemTreeView.js

@@ -303,7 +303,7 @@ define([ "require", "backbone", "hbs!tmpl/graph/TypeSystemTreeView_tmpl", "colle
             var that = this;
             this.ui.typeSearch.select2({
                 closeOnSelect: !0,
-                placeholder: "Select Type"
+                placeholder: "请选择类型"
             }).on("change.select2", function(e) {
                 if (e.stopPropagation(), e.stopImmediatePropagation(), that.ui.typeSearch.data("refresh")) that.ui.typeSearch.data("refresh", !1); else {
                     var selectedNode = $('[data-id="typeSearch"]').val();

+ 1 - 1
atlas/n/js/views/search/QueryBuilderView.js

@@ -118,7 +118,7 @@ define([ "require", "backbone", "hbs!tmpl/search/QueryBuilder_tmpl", "hbs!tmpl/s
                             text: model.get("name")
                         });
                     }), obj.plugin = "select2", obj.input = "select", obj.plugin_config = {
-                        placeholder: "Select type",
+                        placeholder: "请选择类型",
                         tags: !0,
                         multiple: !1,
                         data: entityType

+ 1 - 1
atlas/n/js/views/search/SearchLayoutView.js

@@ -266,7 +266,7 @@ define([ "require", "backbone", "hbs!tmpl/search/SearchLayoutView_tmpl", "utils/
                 allowClear: !0
             })), that.ui.typeLov.html(typeStr);
             var typeLovSelect2 = this.ui.typeLov.select2({
-                placeholder: "Select Type",
+                placeholder: "请选择类型",
                 dropdownAdapter: $.fn.select2.amd.require("ServiceTypeFilterDropdownAdapter"),
                 allowClear: !0,
                 dropdownCssClass: "searchLayoutView",