Browse Source

url

master
= 4 years ago
parent
commit
439f2370a3
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      APP/static/js/wsy.js
  2. +2
    -1
      APP/templates/add.html

+ 1
- 1
APP/static/js/wsy.js View File

@ -129,7 +129,7 @@ async function getWebName() {
dt.append('url', obj['content']);
sendRequest('block/get_web_name', dt, function (data) {
obj['content'] = data.name;
obj['title'] = data.name;
Vue.set(page.textList, obj['order'], obj);
});
})(i);

+ 2
- 1
APP/templates/add.html View File

@ -499,8 +499,9 @@
</div>
</div>
<div class="widget-numbers">
<span v-if="item.type!='picture'">{{item.content}}</span>
<span v-if="item.type=='text'">{{item.content}}</span>
<img v-if="item.type=='picture'" v-bind:src="item.content" alt="" >
<a v-if="item.type=='url'" v-bind:href="item.content">{{item.title}}</a>
</div>
</div>
</div>

Loading…
Cancel
Save