fix #10 title to interpolate html

1.0 v0.3.8
git 9 years ago
parent 8b11eb56f2
commit 9f28b9c901

2
dist/example.js vendored

@ -12202,7 +12202,7 @@
/* 74 */
/***/ function(module, exports) {
module.exports = "\n<label :class=\"{'file-uploads': true, 'file-uploads-html5': $mode == 'html5', 'file-uploads-html4': $mode == 'html4'}\">\n <span>{{title}}</span>\n <input-file></input-file>\n</label>\n";
module.exports = "\n<label :class=\"{'file-uploads': true, 'file-uploads-html5': $mode == 'html5', 'file-uploads-html4': $mode == 'html4'}\">\n <span>{{{title}}}</span>\n <input-file></input-file>\n</label>\n";
/***/ },
/* 75 */

File diff suppressed because one or more lines are too long

@ -2044,7 +2044,7 @@ return /******/ (function(modules) { // webpackBootstrap
/* 72 */
/***/ function(module, exports) {
module.exports = "\n<label :class=\"{'file-uploads': true, 'file-uploads-html5': $mode == 'html5', 'file-uploads-html4': $mode == 'html4'}\">\n <span>{{title}}</span>\n <input-file></input-file>\n</label>\n";
module.exports = "\n<label :class=\"{'file-uploads': true, 'file-uploads-html5': $mode == 'html5', 'file-uploads-html4': $mode == 'html4'}\">\n <span>{{{title}}}</span>\n <input-file></input-file>\n</label>\n";
/***/ },
/* 73 */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -70,7 +70,7 @@
<tbody>
<tr>
<td>
<file-upload title="Add upload files" class="file-upload" name="file" post-action="./post.php" put-action="./put.php" :extensions="extensions" :accept="accept" :multiple="multiple" :size="size" v-ref:upload :drop="drop"></file-upload>
<file-upload title="<strong>Add upload files</strong>" class="file-upload" name="file" post-action="./post.php" put-action="./put.php" :extensions="extensions" :accept="accept" :multiple="multiple" :size="size" v-ref:upload :drop="drop"></file-upload>
</td>
<td>
<button v-if="upload.active" type="submit" @click.prevent="$refs.upload.active = !$refs.upload.active">Stop upload</button>

@ -1,7 +1,7 @@
{
"name": "vue-upload-component",
"description": "Vue.js file upload component, Support for multiple file uploads, progress, html5, html4, support ie9",
"version": "0.3.7",
"version": "0.3.8",
"author": "LianYue",
"scripts": {
"dev": "webpack-dev-server --inline --hot",

Loading…
Cancel
Save