Browse Source

Merge branch 'dev-xjf' of http://120.26.116.243:3000/root/alert-front into dev-xjf

pull/111/head
肖晋飞 2 weeks ago
parent
commit
17cacf6b65
  1. 2
      src/views/run/instant/index.vue
  2. 2
      src/views/run/model/PointTable.vue

2
src/views/run/instant/index.vue

@ -152,7 +152,7 @@ function handleWarnConfig(record: Recordable) {
<div>
<BasicTable @register="registerTable">
<template #form-advanceBefore>
<a-button v-auth="['run:instant:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">
<a-button type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">
{{ t('action.create') }}
</a-button>
</template>

2
src/views/run/model/PointTable.vue

@ -100,7 +100,7 @@ defineExpose({ getPointTableData })
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">
<TableAction
:actions="[{ icon: IconEnum.CHANGE, label: t('action.pointConfig'), auth: 'run:instant:update', onClick: handlePoint.bind(null, record) },
:actions="[{ icon: IconEnum.CHANGE, label: t('action.pointConfig'),onClick: handlePoint.bind(null, record) },
]"
/>

Loading…
Cancel
Save