pushuo 2022-08-22 17:16:50 +08:00
parent 9fdc1491b4
commit 8d192b9a90
4 changed files with 10 additions and 2 deletions

View File

@ -2108,6 +2108,10 @@ if (typeof Vue != 'undefined') {
return asset + image;
};
Vue.prototype.stringLengthInte = function stringLengthInte(text, length) {
return bk.stringLengthInte(text, length);
};
}
$(document).ready(function ($) {

View File

@ -35,6 +35,10 @@ if (typeof Vue != 'undefined') {
return asset + image;
};
Vue.prototype.stringLengthInte = function stringLengthInte(text, length) {
return bk.stringLengthInte(text, length)
};
}
$(document).ready(function ($) {

View File

@ -23,7 +23,7 @@
<tr v-for="tax, index in regions" :key="index">
<td>@{{ tax.id }}</td>
<td>@{{ tax.name }}</td>
<td>@{{ tax.description }}</td>
<td :title="tax.description">@{{ stringLengthInte(tax.description) }}</td>
<td>@{{ tax.created_at }}</td>
<td>@{{ tax.updated_at }}</td>
<td class="text-end">

View File

@ -32,7 +32,7 @@
<tr v-for="tax, index in tax_classes" :key="index">
<td>@{{ tax.id }}</td>
<td>@{{ tax.title }}</td>
<td>@{{ descriptionFormat(tax.description) }}</td>
<td :title="tax.description">@{{ stringLengthInte(tax.description) }}</td>
<td>@{{ tax.created_at }}</td>
<td>@{{ tax.updated_at }}</td>
<td class="text-end">