支持workspace模式导入文件,css类名改名以避免和外部模块冲突
1,源码导入存在uniapp中canvas标签失效问题,所以使用dist导入
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user