{% extends 'obj_form.html' %} {% load i18n %} {% load tj_filters %} {% block js %} {{ block.super }} var editor = null; {% if cfg.product_photo %} var content = $("#id_product_content").val(); if (content!="None"){ $("#htmlEdit").html(content); } var E = window.wangEditor editor = new E('#htmlEdit') editor.config.uploadImgServer = '/mall/points_product/upload/' editor.config.uploadImgMaxLength = 20 editor.config.uploadImgMaxSize = 3 * 1024 * 1024 // 512kb editor.config.uploadFileName = 'file' editor.create() {% endif %} $('#data-content div.product_photo br').remove(); $('#photo-clear_id,#id_photo').removeClass('form-control'); var html='
| 规格名称 | 规格值 | 操作 |
|---|