forked from mrwill84/DOClever
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinputMul.vue
More file actions
executable file
·29 lines (28 loc) · 938 Bytes
/
inputMul.vue
File metadata and controls
executable file
·29 lines (28 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<template>
<el-dialog title="DOClever" size="small" ref="box" :modal="hud">
<el-row style="background-color: white;height: 100%;padding: 20px;" class="row">
<el-input type="textarea" :rows="6" :placeholder="placeholder" v-model="text" :disabled="true"></el-input>
</el-row>
<el-row class="dialog-footer" slot="footer">
<el-button type="primary" @click="save">
保存
</el-button>
</el-row>
</el-dialog>
</template>
<script>
module.exports={
props:["source","placeholder","hudremove"],
data:function () {
return {
text:this.source,
hud:this.hudremove===undefined?true:Boolean(this.hudremove)
}
},
methods:{
save:function () {
this.$emit("save",this.text);
}
}
}
</script>