1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <template>
- <el-dialog
- title="提示"
- :visible.sync="templateVisible"
- width="70%"
- :before-close="handleClose"
- :close-on-click-modal="false"
- >
- <span>这是一段信息</span>
- <span slot="footer" class="dialog-footer">
- <el-button @click="templateVisible = false">取 消</el-button>
- <el-button type="primary" @click="templateVisible = false"
- >确 定</el-button
- >
- </span>
- </el-dialog>
- </template>
- <script>
- export default {
- name: "inStock",
- props: {
- downloadTemplateVisible: {
- type: Boolean,
- default: false,
- },
- },
- data() {
- return {
- templateVisible: false,
- };
- },
- created() {},
- methods: {},
- watch: {
- downloadTemplateVisible() {
- this.templateVisible = this.downloadTemplateVisible;
- },
- },
- };
- </script>
|