This commit is contained in:
gyq
2025-12-02 19:13:19 +08:00
98 changed files with 8022 additions and 3322 deletions

View File

@@ -13,8 +13,8 @@
{{ returnSendStr.join('、') }}
</text>
</view>
<view class="u-flex u-row-right u-m-t-32 gap-20">
<view class="" style="width: 140rpx">
<view class="u-flex u-row-right u-m-t-32 gap-20" v-if="isCanEdit">
<view class="" style="width: 140rpx;">
<my-button plain height="56" type="cancel" shape="circle" @tap="del">删除</my-button>
</view>
<view class="" style="width: 140rpx">
@@ -25,9 +25,8 @@
</template>
<script setup>
import { computed } from 'vue';
import go from '@/commons/utils/go.js';
import myButton from '@/components/my-components/my-button.vue';
import myButton from '@/components/my-components/my-button.vue'
const props = defineProps({
index: {
type: Number,
@@ -36,10 +35,14 @@ const props = defineProps({
data: {
type: Object,
default: () => {
return {};
return {}
}
},
isCanEdit: {
type: Boolean,
default: false
}
});
})
const emits = defineEmits(['del']);
function del() {
emits('del', {