chore(组件): 引入DiyMinx的js及修复组件错误

This commit is contained in:
2025-12-26 16:35:15 +08:00
parent d1778c1fd7
commit 40f5f63096
51 changed files with 14579 additions and 13800 deletions

View File

@@ -26,10 +26,10 @@ export default {
mixins: [DiyMinx],
watch: {
// 组件刷新监听
componentRefresh: function(nval) {}
componentRefresh: function (nval) { }
},
computed: {
richTextWarpCss: function() {
richTextWarpCss: function () {
var obj = '';
obj += 'background-color:' + this.value.componentBgColor + ';';
if (this.value.componentAngle == 'round') {
@@ -41,12 +41,14 @@ export default {
return obj;
}
},
mounted() {},
mounted() { },
methods: {
async handlerClick(item) {
await this.__$emitEvent({eventName: 'rich-text-tap', data: item, promiseCallback: (event, handler, awaitedResult) => {
if (!awaitedResult) return;
}})
await this.__$emitEvent({
eventName: 'rich-text-tap', data: item, promiseCallback: (event, handler, awaitedResult) => {
if (!awaitedResult) return;
}
})
}
}
};