1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/x_discoverer-Vue.NetCore

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
extension.js 901 Байт
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
283591387@qq.com Отправлено 3 лет назад a8d8d59
//************************************************
// *Author:jxx
// *QQ:283591387
// *自定义业务逻辑扩展
//************************************************
export default function() {
return {
methods: {
onInited() {
this.textInline = true;
this.columns[1].width = 70;
this.columns[1].formatter = true;
//this.direction = 'horizontal'
this.listTileFiled="PhoneNo";
// let _this = this;
// uni.getSystemInfo({
// success: function(res) {
// _this.height = res.windowHeight - 0;
// }
// });
},
formatter(row, column) {
let val = row[column.field];
return '<a style="color:red;">' + val + '</a>';
},
rowClick(index, row, column) {
return true;
},
updateBefore(formData) {
this.$toast(JSON.stringify(formData))
},
addBefore(formData) {
this.$toast(JSON.stringify(formData))
}
}
}
}

Комментарий ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/x_discoverer-Vue.NetCore.git
git@gitlife.ru:oschina-mirror/x_discoverer-Vue.NetCore.git
oschina-mirror
x_discoverer-Vue.NetCore
x_discoverer-Vue.NetCore
master