let tmixins = {};
tmixins = {
   props: ['visiable'],
   data() {
     return {
       showDialog: true,
       fileContent: ''
     };
   },
   created() {
     this.readContent();
   },
   methods: {
     dialogClose(event) {
       this.$emit('update:visiable', false);
     },
     readContent() {
       this.$http({
         url: USER_PREFIX + `/file/readContent`,
         method: `post`,
         data: {
           stringOne: this.$attrs.path
         },
         isLoading: true,
         success: res => {
           this.fileContent = res.objx && res.objx.content ? res.objx.content : '';
         }
       });
     }
   }
 };
export const mixins = tmixins
