mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update image.html
This commit is contained in:
parent
55c037d7aa
commit
73512f0ab8
@ -25,15 +25,8 @@
|
|||||||
var app = new vue({
|
var app = new vue({
|
||||||
el: '#ImageDialog',
|
el: '#ImageDialog',
|
||||||
data: {
|
data: {
|
||||||
page: 1,
|
page: 1, limit: 15, show: false, mult: false,
|
||||||
limit: 15,
|
keys: '', list: [], data: [], idxs: {}, urls: [],
|
||||||
show: false,
|
|
||||||
mult: false,
|
|
||||||
keys: '',
|
|
||||||
list: [],
|
|
||||||
data: [],
|
|
||||||
idxs: {},
|
|
||||||
urls: [],
|
|
||||||
},
|
},
|
||||||
created: function () {
|
created: function () {
|
||||||
this.$btn = $('#{$get.id|default=""}');
|
this.$btn = $('#{$get.id|default=""}');
|
||||||
@ -52,8 +45,7 @@
|
|||||||
this.urls = [];
|
this.urls = [];
|
||||||
this.data.forEach(function (file) {
|
this.data.forEach(function (file) {
|
||||||
app.setValue(file.xurl);
|
app.setValue(file.xurl);
|
||||||
});
|
}), this.setInput();
|
||||||
this.setInput();
|
|
||||||
},
|
},
|
||||||
// 设置单项数据
|
// 设置单项数据
|
||||||
setItem: function (item) {
|
setItem: function (item) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user