fix image save meta (#9799)

This commit is contained in:
媛媛
2021-12-13 15:19:42 +08:00
committed by GitHub
parent 487afb9c9f
commit ba1c5ecdc8
-11
View File
@@ -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
*/