@steedos-widgets/amis-lib 6.10.8 → 6.10.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -568,7 +568,7 @@ function getSelectMap(selectOptions){
568
568
  const background = optionColor.charAt(0) === '#' ? optionColor : '#'+optionColor;
569
569
  const color = getContrastColor(background);
570
570
  const optionColorStyle = 'background:'+background+';color:'+color+';line-height:1.5rem;font-size:14px';
571
- map[optionValue] = `<span class="rounded-xl px-2 py-1" style='${optionColorStyle}'>${option.label}</span>`;
571
+ map[optionValue] = `<span class="rounded-xl px-2 py-1 whitespace-nowrap" style='${optionColorStyle}'>${option.label}</span>`;
572
572
  }else {
573
573
  map[optionValue] = option.label;
574
574
  }
@@ -1889,7 +1889,7 @@ var frontend_objects_related_alert_end = "关联的相关表字段";
1889
1889
  var frontend_no_records_found = "无法找到记录";
1890
1890
  var frontend_records_no_allowedit = "您对这条记录没有编辑权限";
1891
1891
  var frontend_app_menu_save_order_group_nesting_error = "不支持分组嵌套";
1892
- var frontend_menu_setup = "编辑应用";
1892
+ var frontend_menu_setup = "设置";
1893
1893
  var frontend_menu_new_object = "新建对象";
1894
1894
  var frontend_menu_view_object = "查看对象";
1895
1895
  var frontend_menu_new_micro_page = "新建微页面";
@@ -4327,7 +4327,7 @@ async function getTableColumns(object, fields, options){
4327
4327
  if(bowserType === "Safari"){
4328
4328
  className += " whitespace-nowrap ";
4329
4329
  }else {
4330
- if(field.wrap != true){
4330
+ if(field.wrap === false){
4331
4331
  className += " whitespace-nowrap ";
4332
4332
  }else {
4333
4333
  className += " break-words ";