Files
mt-ck-wms-ui/src/views/basicData/components/attrBtn.vue
2021-09-13 14:56:28 +08:00

35 lines
686 B
Vue

<!--
* @Date: 2021-01-07 20:09:37
* @LastEditors: zwq
* @LastEditTime: 2021-03-06 16:16:12
* @FilePath: \basic-admin\src\components\BaseTable\subcomponents\CheckDetail.vue
* @Description:
-->
<template>
<span>
<el-button type="text" size="small" @click="emitClick">{{ $t('module.basicData.CodeRules.manageProperty') }}</el-button>
</span>
</template>
<script>
export default {
props: {
injectData: {
type: Object,
default: () => ({})
}
},
methods: {
emitClick() {
console.log(this.injectData)
this.$router.push({
name: 'codeAttr',
query: {
id: this.injectData.id
}
})
}
}
}
</script>