支持workspace模式导入文件,css类名改名以避免和外部模块冲突

1,源码导入存在uniapp中canvas标签失效问题,所以使用dist导入
This commit is contained in:
qiuchengw
2025-11-16 18:43:01 +08:00
parent ae82e29947
commit d77e1fddc5
11 changed files with 119 additions and 108 deletions
+5 -5
View File
@@ -28,23 +28,23 @@ const onNo = () => emit('no')
</div>
<div class="gantt-confirm-footer">
<template v-if="props.type === 'yes-no-cancel'">
<button type="button" class="btn btn-default" @click="onCancel">
<button type="button" class="gantt-btn gantt-btn-default" @click="onCancel">
{{ props.cancelText }}
</button>
<div class="gantt-confirm-footer-right">
<button type="button" class="btn btn-warning" @click="onNo">
<button type="button" class="gantt-btn gantt-btn-warning" @click="onNo">
{{ props.noText }}
</button>
<button type="button" class="btn btn-danger" @click="onYes">
<button type="button" class="gantt-btn gantt-btn-danger" @click="onYes">
{{ props.yesText }}
</button>
</div>
</template>
<template v-else>
<button type="button" class="btn btn-default" @click="onCancel">
<button type="button" class="gantt-btn gantt-btn-default" @click="onCancel">
{{ props.cancelText }}
</button>
<button type="button" class="btn btn-danger" @click="onConfirm">
<button type="button" class="gantt-btn gantt-btn-danger" @click="onConfirm">
{{ props.confirmText }}
</button>
</template>