VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Bug] VTable.themes.DARK 暗色主题排序按钮不可见

Open ldlnovel opened this issue 1 year ago • 0 comments

Version

1.5.3

Link to Minimal Reproduction

VTable.themes.DARK 暗色主题排序按钮不可见

Steps to Reproduce

let tableInstance; fetch('https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/North_American_Superstore_data.json') .then(res => res.json()) .then(data => { const columns = [ { field: 'Order ID', title: 'Order ID', width: 'auto', sort:true, // 加上排序 }, { field: 'Customer ID', title: 'Customer ID', width: 'auto', sort:true, }, { field: 'Product Name', title: 'Product Name', width: 'auto', sort:true, }, { field: 'Category', title: 'Category', width: 'auto', sort:true, }, { field: 'Sub-Category', title: 'Sub-Category', width: 'auto', sort:true, }, { field: 'Region', title: 'Region', width: 'auto', sort:true, }, { field: 'City', title: 'City', width: 'auto', sort:true, }, { field: 'Order Date', title: 'Order Date', width: 'auto', sort:true, }, { field: 'Quantity', title: 'Quantity', width: 'auto', sort:true, }, { field: 'Sales', title: 'Sales', width: 'auto', sort:true, }, { field: 'Profit', title: 'Profit', width: 'auto', sort:true, } ];

const option = {
  records: data,
  columns,
  widthMode: 'standard',
  theme: VTable.themes.DARK
};
tableInstance = new VTable.ListTable(document.getElementById(CONTAINER_ID), option);
window['tableInstance'] = tableInstance;

});

Current Behavior

VTable.themes.DARK 暗色主题排序按钮不可见

Expected Behavior

VTable.themes.DARK 暗色主题排序按钮不可见

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

ldlnovel avatar Jul 31 '24 07:07 ldlnovel