mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
fix image save meta (#9799)
This commit is contained in:
@@ -165,17 +165,6 @@ exports.ready = function() {
|
||||
};
|
||||
|
||||
exports.methods = {
|
||||
async apply() {
|
||||
if (this.$.panelSection.style.display === 'none') {
|
||||
return;
|
||||
}
|
||||
|
||||
const metaList = this.$.panel.panelObject.metaList;
|
||||
|
||||
for (const meta of metaList) {
|
||||
await Editor.Message.request('asset-db', 'save-asset-meta', meta.uuid, JSON.stringify(meta));
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Update whether a data is editable in multi-select state
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user